Commit Graph

96 Commits

Author SHA1 Message Date
Yun Hsiao Wu 4c87e45539 fix stencil mask default constant (#6032) 2020-01-05 16:40:28 +08:00
Yun Hsiao Wu 88dac32d85 fix skel anim bounds reuse (#6028) 2020-01-04 08:34:01 +08:00
Yun Hsiao Wu 997bb7edd3 better profiler size calculation (#5998)
* better profiler size

* restore batching status when destroying model
2019-12-30 16:06:05 +08:00
Yun Hsiao Wu 5cc98d91f4 log about texture buffer pool format (#5988) 2019-12-27 19:21:53 +08:00
JoneLau 077cc5e5bc support invert mask (#5961)
* support invert mask

* fix bug

1. fix stencil no effect in material instance
2. fix the value of hit area
2019-12-26 17:31:22 +08:00
pandamicro 7a26eb2150 Merge pull request #5973 from cocos-creator/3d-v1.0.2
Merge 3d-v1.0.2 to 3d
2019-12-26 15:53:06 +08:00
zxg0622 39a7fbdd89 refactor material instance (#5910)
* refactor material instance

* revert setMaterial signature

* fix some defects

* material instance using inheritance (#5)

* material instance using inheritance

* renderable component

* more fixes (#6)

* more fixes

* minor

* fix some defects

* fix batching (#7)

* better format (#8)

* fix

* fix batching & skybox (#9)

* fix skinning (#10)

* change sharedMaterial decorator

* add modelcomponent property deprecated

Co-authored-by: Yun Hsiao Wu <inheritorofgalaxy@gmail.com>
2019-12-25 17:41:04 +08:00
JoneLau 7fc9bdefc0 add file of additional properties and transparency downward (#5948)
* add file of additional properties and transparency downward

* remove unless function
2019-12-23 23:46:59 +08:00
Yun Hsiao Wu 3513319c1e copyBuffersToTexture using ArrayBufferViews (#5945) 2019-12-23 16:10:46 +08:00
Yun Hsiao Wu 6edf4123ef shader version should be specified inside gfx (#5932) 2019-12-20 11:50:17 +08:00
Yun Hsiao Wu 0cd08e8441 fix web audio stop before play (#5927) 2019-12-19 15:02:28 +08:00
Leslie Leigh (李的序) 86636442cf Kill INode & IBaseNode (#5893)
* Remove INode, IBaseNode

* Fix

* Fix types error

* Update
2019-12-19 14:17:14 +08:00
Yun Hsiao Wu 0f12fb11e4 move data conversion out of animation clip (#5922)
* move data conversion out of animation-clip

* pre sample switch on skeletal anim comp
2019-12-18 18:47:45 +08:00
ChiaNing 70f13f7cb6 api doc update (#5909) 2019-12-18 15:42:26 +08:00
Yun Hsiao Wu 10c49e68f6 [chore] misc opts (#5898)
* pipeline linter fix

* instance support

* reuse render obejcts

* fix ci

* fix model ID
2019-12-18 14:35:34 +08:00
JoneLau 3334b78d36 adjust ui-static-batch-component interface (#5891) 2019-12-12 19:21:17 +08:00
JoneLau a7115f18d3 fix spelling mistakes and wrong format (#5888) 2019-12-12 18:39:54 +08:00
Leslie Leigh (李的序) 66b01c565b Bump gift to 1.2.1 to being rescued from some declaration generate errors (#5882)
* Bump gift to 1.2.1 to being rescued from some declaration generate errors

* Continue bump
2019-12-12 17:19:29 +08:00
pandamicro 3bffb3f48a Merge remote-tracking branch 'origin/3d' into 3d-v1.0.2
# Conflicts:
#	cocos/core/pipeline/render-view.ts
2019-12-12 16:59:17 +08:00
Yun Hsiao Wu e4c6e6c691 increase default joint texture size (#5876) 2019-12-10 11:12:14 +08:00
Yun Hsiao Wu 8cb27d3536 fix skinning model init (#5875) 2019-12-10 10:55:18 +08:00
Yun Hsiao Wu d02b23eb71 fix skinning model & model comp onEnable (#5873) 2019-12-09 19:53:52 +08:00
Yun Hsiao Wu bbdce1b684 fallback to renderbuffer if depth texture not supported (#5862) 2019-12-07 15:08:24 +08:00
Yun Hsiao Wu 2c7d5ef489 planar shadow depth bias (#5857) 2019-12-06 11:19:07 +08:00
Lelie Leight (李的序) 5a40b2d01a Typo correctness for some render module files (#5846) 2019-12-05 15:19:26 +08:00
Yun Hsiao Wu 851ea13ef2 fix spot light culling (#5841) 2019-12-04 19:12:47 +08:00
JoneLau 6f54d39a29 fix mask in new model structure (#5801) 2019-12-02 19:01:48 +08:00
Yun Hsiao Wu 8ea37e5b40 support more than 32 macros (#5807)
* support more than 32 macros

* update dynamic batching switch for transparent model
2019-12-02 10:35:25 +08:00
zxg0622 dda6f56b79 change particle rendermode defines & adapt line billboard to new renderscene interface (#5806) 2019-11-29 13:43:03 +08:00
Yun Hsiao Wu f47cea1422 better playground framework (#5805)
* better playground framework

* remove redundant memops

* minor

* linter

* restore memops
2019-11-29 13:26:34 +08:00
Yun Hsiao Wu f18becae28 fix main light (#5793)
* fix main light

* linter
2019-11-27 16:53:22 +08:00
zxg0622 53ed7da2db fix render scene error (#5790) 2019-11-26 15:04:16 +08:00
JoneLau 14bcb2e49e add tiled mode in spritecomponent (#5784) 2019-11-26 13:48:29 +08:00
JoneLau e4f0efd2cc remove uicomponent's priority to uitransform and canvas sort in event (#5762) 2019-11-26 10:02:01 +08:00
Yun Hsiao Wu e558f3f0fe filter shader bindings wrt. macros (#5772)
* filter shader bindings wrt. macros

* fix default joint texture size

* empty scene opt
2019-11-25 16:05:56 +08:00
zxg0622 cda23e5c14 refactor model allocation logic (#5689)
* refactor model allocation logic

* fix ts null check

* fix particle system decorator
2019-11-23 18:28:28 +08:00
pandamicro bfd8994e40 Merge pull request #5764 from cocos-creator/3d-v1.0.1
Merge 3d v1.0.1
2019-11-19 18:16:15 +08:00
Yun Hsiao Wu f7f6193f26 skinning model bounds (#5743)
* first try: skeleton bounds with scaling

* second try: bone space per joint bounds

* rendering data pool manager

* shadow culling

* better identity joint texture handle allocation

* fix batched skinning model material lost

after quitting animation editor

* unify local ubo binding
2019-11-19 18:13:49 +08:00
jiaxin.lai 5ad3cb047a fix rayResultSingleModel getter of render-scene (#5758) 2019-11-18 17:34:26 +08:00
pandamicro 27cb457039 Merge pull request #5737 from cocos-creator/3d-v1.0.1
Merge 3d v1.0.1
2019-11-14 14:20:13 +08:00
Yun Hsiao Wu 1cfe037204 better implant interface (#5733) 2019-11-13 19:50:11 +08:00
Yun Hsiao Wu 262357dc2e insert shadow pso into model pso list (#5730) 2019-11-13 17:13:38 +08:00
jiaxin.lai 52e3faa55e fix some api doc of render-scene (#5725) 2019-11-13 15:48:57 +08:00
Yun Hsiao Wu 1146b322a3 update effects (#5722)
* update effects

* fix profiler aspect
2019-11-13 15:45:19 +08:00
Yun Hsiao Wu b26b7395ad update shaders (#5696) 2019-11-11 22:08:23 +08:00
Yun Hsiao Wu 1ae2069a7a reupload clip after model destroyed (#5716) 2019-11-08 17:38:57 +08:00
pandamicro 2c3082d879 Merge pull request #5712 from cocos-creator/3d-v1.0.1
Merge 3d v1.0.1
2019-11-08 15:46:50 +08:00
JoneLau e8b1de85f2 update ui other camera when a camera is removed (#5691)
persisnode will be removed more time when scene is changed
2019-11-07 10:38:39 +08:00
pandamicro 95c99227fe Merge pull request #5665 from cocos-creator/3d-v1.0.1
Merge 3d v1.0.1
2019-11-04 11:03:24 +08:00
JoneLau 040bb73075 add ui static batch (#5644) 2019-11-01 16:37:17 +08:00