Commit Graph

1502 Commits

Author SHA1 Message Date
Santy-Wang 5d482f0e68 revert part of #7665 (#7939)
* refine image asset auto releasing

* refine
2020-12-12 11:34:34 +08:00
Yun Hsiao Wu 74ef228587 tsc issue workaound (#7950) 2020-12-12 10:38:23 +08:00
echoooooo 1f8b1ce142 feat: add Node.setRotationFromEuler(val: Vec3) overload (#7945) 2020-12-11 19:44:56 +08:00
Myway 4864b59c09 Update world bound when terrain height updated (#7921) 2020-12-11 10:16:02 +08:00
Jare Guo c10676df3c remove onBatchRestored & prefab._synced flag (sync #7163 #7271) (#7803) 2020-12-09 10:42:16 +08:00
Leslie Leigh (李的序) b8a56aba6a Override dynamic-serialize in production build (#7844) 2020-12-07 14:50:13 +08:00
zheng han 4d9bf6b43f fix systemEvent.on type check (#7924) 2020-12-07 13:35:44 +08:00
Santy-Wang 3be28fb3ce Revert "Optimize build time constants implementation (#7882)" (#7927)
This reverts commit 6f57c3ad8f.
2020-12-07 13:32:50 +08:00
cary c959a8d5eb Fix memory leap of particle system on vulkan. (#7887)
* Fix memory leap of particle system on vulkan.

* modify event name
2020-12-04 18:01:38 +08:00
Leslie Leigh (李的序) 6f57c3ad8f Optimize build time constants implementation (#7882) 2020-12-04 15:06:54 +08:00
Yun Hsiao Wu aaa2fe5abf fix local binding generation (#7879) 2020-12-04 15:05:59 +08:00
troublemaker52025 15de826b6d Optimization shadowUBO update and descriptorSet binding (#7904)
* Optimization-shadowUBO-and-descriptorset
2020-12-04 11:56:18 +08:00
Santy-Wang f90bdaaf57 fix issue of CLEANUP_IMAGE_CACHE (#7888)
* fix issue of CLEANUP_IMAGE_CACHE

* refine
2020-12-03 19:50:17 +08:00
Santy-Wang 9b80386b0c add some note about get and release (#7897) 2020-12-03 13:55:50 +08:00
troublemaker52025 6d72ccfcd9 remove shader unnecessary references (#7893) 2020-12-03 13:37:23 +08:00
troublemaker52025 b1adbfba20 fix shadow light effect error (#7876) 2020-11-30 16:29:22 +08:00
troublemaker52025 56ed7be9a5 Solve project upgrade issues (#7875) 2020-11-30 16:25:29 +08:00
troublemaker52025 14ba8c027f fix editor no shadow (#7874) 2020-11-26 14:15:17 +08:00
JoneLau be1f309b55 fixed graphics data submission problem (#7870) 2020-11-25 21:57:16 +08:00
cary b8ed581767 getUniformLocation compatible with WeChat platform (#7869) 2020-11-25 21:18:59 +08:00
ChiaNing 2cad4d7f32 baidu compress texture fix (#7872) 2020-11-25 21:18:39 +08:00
Santy-Wang cd5605c3eb only release non-gc asset in editor (#7871)
* only release non-gc asset in editor

* refine

* refine
2020-11-25 21:16:01 +08:00
Santy-Wang dcff8700c4 initialize asset even if some depend asset is missing (#7866) 2020-11-25 17:43:20 +08:00
Yun Hsiao Wu 29b6aded0d unified local DS layout (#7862)
* unified local DS layout

* minor
2020-11-25 14:02:14 +08:00
ChiaNing 974a943ae4 canvas default clean color change (#7852) 2020-11-25 09:45:18 +08:00
cary 4b9afa440e Fix the display error of the mask scene. (#7861) 2020-11-25 09:42:42 +08:00
troublemaker52025 adbf91270a fix planar shadow local ds layout (#7854) 2020-11-24 19:20:20 +08:00
minggo 98c2fb3158 fix device resolution (#7856)
* fix device resolution

* only use device resolution on native
2020-11-24 18:24:51 +08:00
cary 9fef80571f Separate the runtime data of the effect in program-lib. (#7842)
* Separate the runtime data of the effect in program-lib.

* add space
2020-11-24 10:23:59 +08:00
troublemaker52025 6a555ad1a9 fix shadow binding error (#7848) 2020-11-23 17:44:45 +08:00
Santy-Wang 9160abd320 hide fallback effect in editor (#7840)
* hide fallback effect in editor

* refine
2020-11-23 11:06:46 +08:00
troublemaker52025 1848010664 Fix customize descriptor not bingding shadow map (#7836)
* fix Multiple light sources not bingding globle CC_SHADOW_MAP

* update
2020-11-20 16:18:10 +08:00
troublemaker52025 e4e5ba72a0 Refactoring shadow ubo submit (#7824)
* refactorning shadow UBO submit

* update

* update

* add destory()

* Conflict effects resolution

* fix planar shadow shader error  &&  fix CC_ShadowMap no bounding error

* update
2020-11-20 09:34:15 +08:00
cary 2480d26cf2 Fix shadow map not binding. (#7829) 2020-11-20 09:31:38 +08:00
江战 1acfbd1c70 [3.0] add DragonBones (#7831) 2020-11-20 09:31:07 +08:00
Jare Guo dc2a731c7e Cocos Creator 3D -> Cocos Creator (#7823) 2020-11-19 19:14:30 +08:00
cary b266d9ef03 Modify the initialization of scene global. (#7513)
* Modify the initialization of scene global.

* delete type of fog

* fix render error

* merge upstream 3d

* modify fog chunk

* commit effect
2020-11-19 18:08:32 +08:00
Leslie Leigh (李的序) 16cc7569eb Introduce the EXPORT_TO_GLOBAL (#7820)
* Introduce the `EXPORT_TO_GLOBAL`

* Bump version
2020-11-19 15:54:33 +08:00
江战 ea12c6ca6d [3.0] bugfix: spriteframe support flip X & flip Y (#7788)
* spriteframe support flip X & flip Y

* rename properties & reduce garbage objects while cloning
2020-11-19 15:00:11 +08:00
zheng han 720d372bf7 3d rename class under geometry namespace (#7816) 2020-11-19 11:58:33 +08:00
Santy-Wang db690d10d2 remove it from effect pool when effect is destroyed (#7817) 2020-11-19 10:41:09 +08:00
PP a598a9f0cf support linksure and QTT platform (#7800)
* fix undefined toDataURL on linksure platform

* update platform

* add platform info
2020-11-18 20:20:38 +08:00
Knox 6e89a5356c Fix the error caused by modifying a rendered component after it has been destroyed. (#7798) 2020-11-18 17:47:27 +08:00
Santy-Wang f26782ac2c fix iOS 14 performance issue (#7815) 2020-11-18 14:55:41 +08:00
zheng han 9872a49fb1 disallowAnimation of some property (#7791) 2020-11-18 14:50:45 +08:00
coulsonwang c3c83dbfde skip create texture when width or height is zero (#7781) 2020-11-18 10:54:38 +08:00
Jare Guo b5ba2e5dbe fix texture preloading (sync #7581) (#7802)
* fix texture preloading (sync #7581)

* fix prefab revert problem for render component (sync #7385)

* tweak API docs (sync #7525)

* Update Readme (sync from 2D)

Co-authored-by: Nisar Hassan Naqvi <syednisarhassan12@gmail.com>
2020-11-18 10:47:23 +08:00
minggo 14f81675ff fix circle dependence (#7808) 2020-11-18 10:41:45 +08:00
Santy-Wang 811b1232ec Compatible with previous versions (#7805) 2020-11-18 10:20:08 +08:00
troublemaker52025 63e5f42b6e fix instanced model no shadow for 3D (#7809) 2020-11-18 09:52:04 +08:00