Commit Graph

86 Commits

Author SHA1 Message Date
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 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
Yun Hsiao Wu aa11efe0c7 misc pipeline fixes (#5661)
* shorter shader name

* remove global GL ref

* fix shadow disappear after undo
2019-10-31 17:00:37 +08:00
Yun Hsiao Wu 49d06b4195 fix dynamic batching (#5646)
* fix dynamic batching

* bootstrap PSO interface

* always use latest PSO
2019-10-30 16:30:35 +08:00
Yun Hsiao Wu e337ae33d9 one material instance for all kinds of models (#5608)
* one material instance for all kinds of models

* better pass organization

* linter fix & more opt TODOs

* PSOs store their hashes from now on

* store string pass phase

* fix sampler cache

* optimize pass resource init proc

* audio context compat improv
2019-10-28 16:09:39 +08:00
ChiaNing 3689407ad6 profiler format (#5607)
* profiler format

* profiler update

* profiler update

* profiler scheduler add

* profiler update optimize
2019-10-28 11:12:55 +08:00
zxg0622 48283dda50 fix hdr renderpipeline gizmo render error (#5603) 2019-10-24 10:22:07 +08:00
Yun Hsiao Wu 91ef4f0d8a fix skybox mesh init (#5599) 2019-10-23 19:11:14 +08:00
Yun Hsiao Wu 3cf4c225d2 allow up to 2^32 shader macro combinations (#5579)
* allow up to 2^32 shader macro combinations

* stricter layer check for rendering
2019-10-23 13:42:40 +08:00
Yun Hsiao Wu 2e59be932c misc pipeline fix (#5558)
* fix tone mapping

* linter fix

* fix shadow cache

* better shadow fix

* draw shadow only on default visibility
2019-10-21 11:06:15 +08:00
Yun Hsiao Wu d47ebecf1c joints texture: handle negative zeros on CPU (#5566) 2019-10-18 11:59:02 +08:00
Yun Hsiao Wu a120ccbd05 unify animation clips (#5523) 2019-10-18 11:26:04 +08:00