Commit Graph

11037 Commits

Author SHA1 Message Date
troublemaker52025 689962baeb fix spotShadow soft merge error for v3.3.1 (#9290) 2021-09-06 19:16:28 +08:00
zxx43 8d61f407e7 add serializable (#9291) 2021-09-06 18:53:23 +08:00
troublemaker52025 40a40a00ef Remove shadow.autoAdapt property for v3.3.1 (#9286)
* Remove shadow.autoAdapt property for v3.3.1

* update
2021-09-06 18:48:26 +08:00
Leslie Leigh (李的序) 87775ff2b4 Fast define curve (#9276)
* Fast define curve

* Use fastDefine
2021-09-03 18:57:02 +08:00
troublemaker52025 d90ae9227f Shadow culling for v3.3.1 (#9152)
* pre culling

* update culling

* update

* update

* update

* update

* add jsb

* fix ci

* update

* update fov to netave-engine

* update Shadow Projection

* update merge

* update

* fix ci error

* update

* update

* update

* update

* update

* update

* update shadow default value

* update boundingBox Method

* update _shadowpos

* update

* update

* update

* update

* rename range to shadowRange
2021-09-02 19:10:03 +08:00
Leslie Leigh (李的序) 01ed77565a Optimize RealKeyframeValue constructor (#9273) 2021-09-02 18:19:38 +08:00
江战 16ccd6998e 3.3.1 优化属性访问 (#9265)
* opt for non-jit

* move out var

* revert

* Update cocos/core/scene-graph/node.ts

* reduce access property

* Update cocos/core/scene-graph/node.ts

* use normal for loop
2021-09-02 17:21:05 +08:00
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