Commit Graph

78 Commits

Author SHA1 Message Date
zxg0622 7e26112852 fix modelcomponent attach scene bug (#6056) 2020-01-08 15:50:14 +08:00
Leslie Leigh (李的序) bdcc94bd33 Circular reference (#6050) 2020-01-08 12:38:40 +08:00
JoneLau ea700afb50 fix coordinate replace function (#6025)
save
2020-01-04 11:22:14 +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
JoneLau 845871214c fix circle code (#5991) 2019-12-28 14:06:22 +08:00
zxg0622 395ab9fb41 fix some bug (#5974) 2019-12-26 16:59:47 +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
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
JoneLau 12aca7d4a4 convert coordinate from 3d camera to ui (#5896) 2019-12-19 15:05:37 +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 347ad4d9c3 uuids for builtin effects (#5921) 2019-12-18 15:41:15 +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 d02b23eb71 fix skinning model & model comp onEnable (#5873) 2019-12-09 19:53:52 +08:00
Yun Hsiao Wu 9d49b80cca misc improve (#5870) 2019-12-09 18:27:28 +08:00
zxg0622 1c7c5f4d75 fix renderpipeline bug & some defects (#5843) 2019-12-05 15:22:52 +08:00
pandamicro 802d7a9b49 Merge branch '3d-v1.0.2' into 3d
# Conflicts:
#	cocos/core/components/ui-base/canvas-component.ts
#	cocos/core/components/ui-base/ui-render-component.ts
#	cocos/core/game.ts
#	cocos/core/pipeline/forward/forward-pipeline.ts
#	cocos/core/pipeline/render-flow.ts
#	cocos/core/pipeline/render-pipeline.ts
#	cocos/core/root.ts
#	cocos/core/scene-graph/base-node.ts
2019-12-03 19:23:26 +08:00
zheng han 096c949807 change animatable property from sharedMaterials to materials (#5789) 2019-12-02 10:36:02 +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
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
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
ChiaNing b7606ef2fc node event TRS remove (#5750)
* node event TRS remove

* transformBit  rename & deprecated

* notice update
2019-11-20 16:07:50 +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
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 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
ftershock fc359c8a7a add tooltip (#5663)
* Add tooltip

* add tooltip

* update spriteatlas

* add changeSpriteFrameFromAtlas
2019-11-06 18:30:12 +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
ChiaNing 983c6f8e4d SpriteComponent Gray Mode add (#5652)
* ScriptComponent Gray Mode add

* name change
2019-10-30 19:26:25 +08:00
Yun Hsiao Wu de783932c9 optimize dynamic batch (#5651) 2019-10-30 18:44:09 +08:00
Yun Hsiao Wu 86e985a19e fix model property init order (#5648) 2019-10-30 17:49:39 +08:00
媛媛 cb18dc91ec update light component menu (#5649) 2019-10-30 17:41:02 +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
zxg0622 4ce31e98d3 add trail to uimodel (#5617) 2019-10-28 11:50:14 +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 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 a120ccbd05 unify animation clips (#5523) 2019-10-18 11:26:04 +08:00
pandamicro edc2dbfcef Merge pull request #5555 from cocos-creator/3d-v1.0.0
merge 3d v1.0.0
2019-10-16 10:20:13 +08:00
zxg0622 a9731e6561 fix trail render error (#5534) 2019-10-13 23:06:20 +08:00
Yun Hsiao Wu da629db464 fix skybox update (#5529) 2019-10-13 15:26:31 +08:00
pandamicro 5399db98ac Merge pull request #5522 from cocos-creator/3d-v1.0.0
Merge 3d v1.0.0
2019-10-12 10:22:53 +08:00
ftershock de32d9b22d API Doc update (#5481)
* update

* API Doc update

* API Doc update

* API Doc update

* API Doc update
2019-10-12 10:18:27 +08:00
Yun Hsiao Wu fedaa5de3a fix mip filter in GL1 (#5512)
* fix skybox

* missing default clip hint

* fix mip filter in GL1
2019-10-10 18:42:58 +08:00
Lelie Leight (李的序) 607824a963 expose some type definitions (#5455) 2019-10-09 17:40:07 +08:00