Commit Graph

1481 Commits

Author SHA1 Message Date
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
ChiaNing f987b1619d Circular dependency fix (#7810) 2020-11-17 18:11:43 +08:00
troublemaker52025 acbefafe6a add planar shadow for C++ (#7801) 2020-11-17 16:29:41 +08:00
minggo 93fc4561b6 destroy native data when it is not needed (#7799) 2020-11-17 10:43:50 +08:00
PP 55689f1d80 add HuaWei broswerType (#7779) 2020-11-15 12:57:08 +08:00
cary cec8460cae Fix the frame rate problem of TestList on native. (#7786) 2020-11-13 16:58:40 +08:00
minggo 5fc2c72ea5 Reduce jsb (#7784)
* cache device.uboOffsetAlignment

* use JS BindingMappingInfo

* use JS BindingMappingInfo

* use JS ShaderStage/Uniform/UniformBlock/UniformSampler/ShaderInfo

* use JS DrawInfo/IndirectBuffer

* use JS SamplerInfo

* use JS SubPassInfo/ColorAttachment/DepthStencilAttachment/RenderPassInfo

* use more JS classes
2020-11-13 16:25:16 +08:00
cary 607ca8a2b4 Add USE_LOCAL processing in ui component batch. (#7777)
* Add USE_LOCAL processing in ui component batch.

* fix ci
2020-11-12 17:40:18 +08:00
minggo 27439bfb11 Fix sphere light error (#7763) 2020-11-12 17:04:56 +08:00
troublemaker52025 167f313c37 be consistent 2020-11-12 16:18:14 +08:00
troublemaker52025 29dd1fb20e update 2020-11-12 15:12:29 +08:00
Yun Hsiao Wu 53112da281 fix skinning model world bound update (#7775) 2020-11-12 15:03:53 +08:00
江战 63bf61315e [3.0] Spine support (#7765)
* add spine support

* recompile effects

* fix init

* save

* log error

* recompile effects
2020-11-12 15:01:33 +08:00
pandamicro eb48ae0982 Fix window.rAF is not a function issue on native platform (#7769) 2020-11-12 11:10:27 +08:00
Yun Hsiao Wu e734e1ac3d fix terrain effect (#7768) 2020-11-12 11:06:41 +08:00
troublemaker52025 322d40f3fd Merge remote-tracking branch 'Cocos/3d' into fix-sphereLight-error 2020-11-12 09:53:59 +08:00
ChiaNing f2f68c61d7 uiComp check bug fix (#7766) 2020-11-11 23:13:01 +08:00
troublemaker52025 ac83d26a91 Merge remote-tracking branch 'Cocos/3d' into fix-sphereLight-error 2020-11-11 19:31:02 +08:00
ChiaNing f3d62ce258 mask invert bug fix & uiComp check (#7758)
* mask invert bug fix

* uiComp check
2020-11-11 19:13:37 +08:00
Santy-Wang 95b2c2ad5a fix imageBitmap auto premultiply alpha (#7761) 2020-11-11 18:55:29 +08:00
troublemaker52025 2f100b4eaa Merge remote-tracking branch 'Cocos/3d' into fix-sphereLight-error 2020-11-11 16:03:31 +08:00
cary 1221a88979 Fix the WrapMode issue of particle curves. (#7757) 2020-11-11 15:54:35 +08:00