Commit Graph

11030 Commits

Author SHA1 Message Date
troublemaker52025 c1c6885945 add soft shadow for spotLight v3.3.1 (#9162)
* add soft shadow for spotLight v3.3.1

* fix merge error
2021-09-02 11:05:47 +08:00
Zeqiang Li d861a08b4b metal extra viewport issue (#9271) 2021-09-02 10:49:48 +08:00
PP d5ccf5d7c7 add sprite frame changed event listener on EditBox (#9266) 2021-09-01 18:03:43 +08:00
GengineJS fd1ea41235 Fix the problem of deferred pipeline uimodel without light and metal crash (#9261)
* Fix the problem of deferred pipeline uimodel without light and metal crash

* update effect

* update comment

* update comment

* modify comment
2021-09-01 15:51:56 +08:00
ChiaNing 77177ec8f3 hack for iOS 14 to use mesh Buffer slice (#9248) 2021-09-01 13:39:52 +08:00
PP 2435520c88 revert deprecate EventKeyboard.isPressed (#9268) 2021-09-01 13:35:54 +08:00
ChiaNing 3412025645 add widget dirty when target anchor change (#9267) 2021-09-01 12:46:06 +08:00
pandamicro d059d03461 Add macro.ENABLE_GLES_ANTIALIAS (#9243)
* Rename macro.ENABLE_WEBGL_ANTIALIAS to macro.ENABLE_ANTIALIAS

* Upgrade game

* Rename to  ENABLE_GL_ANTIALIAS

* Improve api doc

* Revert scheduler

* Add ENABLE_GLES_ANTIALIAS

* Set default gles antialias to false
2021-08-31 13:51:55 +08:00
ChiaNing ee6d6e57e0 fix button original Scale bug (#9237)
* fix button original Scale bug

* update to apply Target

* check target valid

* add test
2021-08-31 09:07:51 +08:00
zxx43 4d4f62b407 V3.3.1 curve (#9260)
* fix curve loop bug

* add multiplierMax

* restrict some curve ranges

* revert curve

* add range to all curve

* add

* add
2021-08-30 16:56:36 +08:00
PP 6bf458920c add enableAutoFullScreen deprecate info (#9251) 2021-08-30 10:25:10 +08:00
zheng han d07ad2e584 fix anim preview (#9220) 2021-08-25 19:23:16 +08:00
ChiaNing 844b1ea8d8 fix rich text color bug (#9240)
* fix rich text color bug

* reset other value
2021-08-25 18:10:40 +08:00
Leslie Leigh (李的序) 5c3c14e55d Fix updateEventDatas (#9246) 2021-08-25 16:54:05 +08:00
Leslie Leigh (李的序) fdc7b993b2 Fix AnimationClip.createWithSpriteFrames() (#9244) 2021-08-25 15:30:37 +08:00
jiaxin.lai 52110737f1 bullet raycast optimization (#9227)
* allow user overwrite internal bullet libs

* update @cocos/ammo to 1.2.0

* more strict

* format
2021-08-24 10:30:31 +08:00
zhakesi 942493cabb fix-doc: setLayerName with upper case S (#9234) 2021-08-23 18:53:15 +08:00
troublemaker52025 2c91d94d42 fix planar shadow culling error for v3.3.1 (#9178) 2021-08-21 15:45:40 +08:00
Santy-Wang 69d7e74d19 Merge pull request #9222 from cocos-creator/v3.3.0
sync V3.3.0
2021-08-21 14:25:48 +08:00
Yun Hsiao Wu f09a8e4449 fix webgl uniform array upload (#9202) 2021-08-20 11:26:47 +08:00
ChiaNing a5cb20a995 Remove pass cache check (#9216)
* hack DS bind bug

* remove pass cache check
2021-08-20 11:07:44 +08:00
Santy-Wang d1a462d9c4 fix engine version (#9214) 2021-08-19 16:14:22 +08:00
zhakesi d120ba3ace fix:root node scene has no rts info. (#9167)
* fix:root node scene has no rts info.

* add lpos lrot lscale attributes for scene
2021-08-19 15:17:33 +08:00
Santy-Wang e3d5ccb110 3.3 fix loading (#9210)
* fix loading dir failed

* refine
2021-08-19 14:31:49 +08:00
Santy-Wang 1b75b06b31 fix loadRes failed (#9200) 2021-08-17 19:10:04 +08:00
ChiaNing c34205c9b3 fix batch passes bug when not reset (#9197) 2021-08-17 18:38:19 +08:00
黄森斌 eaf15b9d55 fix javascript initial data changed without modified (#9196) 2021-08-17 17:50:13 +08:00
Santy-Wang 325a942214 fix parsing asset's dependencies failed (#9193)
* fix parsing asset's dependencies failed

* refine
2021-08-16 23:56:28 +08:00
Santy-Wang 339d87024f Merge branch 'v3.4.0' into v3.3.1 2021-08-16 17:21:58 +08:00
Santy-Wang 93889feac4 Merge pull request #9187 from cocos-creator/v3.3.0
sync V3.3.0
2021-08-16 17:19:58 +08:00
Leslie Leigh (李的序) 97c56a3afa Fix some forward reference problem (#9186) 2021-08-16 15:26:50 +08:00
PP fa6ba48c27 fix undefined window.location.protocol (#9185) 2021-08-16 15:22:21 +08:00
Leslie Leigh (李的序) 863d80a4e7 Add easing method to quat curve (#9179)
* Add easing method to quat curve

* Update

* Fix unit test

* lint
2021-08-16 14:54:22 +08:00
jk20012001 a6dfddc780 Fix spotlight shadow formerge (#9177)
* fix spotlight shadow matrix, lineardepth, selfbias error (#8483)

* Spotlight shadows: Added depthbias in viewspace units

* Remove now unnecessary UBO constants

* Add support for directional lights

* fix spotlight shadow matrix, lineardepth, selfbias error (#8483)

* Fix Spotlight light leaking in backface and compiling error

* fix dirlightview matrix error

* more accuracy for spotlight shadow bias

* Fix face normal bias

* Fix DirLight Soft/Soft2X

* improve performance for ShadowUBO divid op

* remove spotshadow linear mode(can't work with new shadow bias), fix spotshadow linear mode

* fix spot shadow linear mode

* directional light packing mode and disable linear mode

* compiled effects

Co-authored-by: Jamie Anthony Morris <Jamie.Morris@cocos.com>
2021-08-16 14:50:41 +08:00
ChiaNing f6eb8eb6ec fix ui mesh render play anim bug (#9184) 2021-08-16 14:37:18 +08:00
cary 0a1356a816 Compatible with non-ReadOnly parameters. (#9160) 2021-08-15 22:01:41 +08:00
Santy-Wang 391aa954f9 bump engine version (#9182) 2021-08-15 11:33:16 +08:00
pandamicro 3f615ab647 Add dt threshold (#9181)
* Add dt threshold

* Fix ci

* Fix game.step and add time unit comments

* Fix adjusted frame time
2021-08-14 23:22:03 +08:00
pandamicro 37671f8063 Fix IsClientLoad missing (#9175) 2021-08-13 15:25:02 +08:00
GengineJS 434249da19 Modify the math library (#9163)
* Modify the math library

* fix ci
2021-08-12 10:59:09 +08:00
Santy-Wang d4969e99d5 bump engine version (#9166) 2021-08-12 10:40:52 +08:00
Santy-Wang 46dce812d3 bump engine version (#9165) 2021-08-12 10:33:01 +08:00
黄森斌 8c4e850df4 fix resizeObserver loop limit exceeded (#9159) 2021-08-11 14:30:04 +08:00
Santy-Wang 96909bedf7 fallback to default texture when no valid format found (#9153) 2021-08-10 10:35:21 +08:00
Santy-Wang ca25914070 Merge pull request #9158 from cocos-creator/v3.3.0
sync V3.3.0
2021-08-10 10:30:50 +08:00
ChiaNing 2f861cd38d fix mesh Buffer vertexCount Bug (#9155) 2021-08-09 18:29:16 +08:00
Santy-Wang 2e3c3334c3 Merge pull request #9156 from cocos-creator/v3.3.0
sync V3.3.0
2021-08-09 16:37:54 +08:00
pandamicro 248d674c2a Update effects (#9149) 2021-08-06 22:16:45 +08:00
cary 333e39d100 Fix sort scene crash of metal for IOS platform. (#9144)
* Fix sort scene crash of metal for IOS platform.

* merge branch
2021-08-06 18:18:47 +08:00
zhakesi e3795899ec fix:when skeleton data destory clean all data. (#9139)
* fix:when skelton data destory clean all data.

previous version the info still exists in the data map,
this cause initializing skeleton failed second time.

* remove code no used any more
2021-08-06 17:05:28 +08:00