Commit Graph

17335 Commits

Author SHA1 Message Date
Leslie Leigh (李的序) 07c002c98a Fix failed to alter the reset mode of trigger variables (#10783) 2022-04-15 19:15:17 +08:00
jk20012001 e240164c97 increase max normalmap intensity value (#10774)
* increase max normalmap intensity value

* rename normalStrenth
2022-04-15 18:30:28 +08:00
timlyeee bd02a8ea2e Fix restart game will create several swapchain (#10776)
codes aren't sync with 3.4.2 *https://github.com/cocos/engine-native/pull/4008

The reason why we should destroy here is that the swapchain is created by js binding, yet once restart it will create again, after that multiple swapchain will exist at same time. And only happens on Native platform
2022-04-15 13:42:09 +08:00
bofeng-song cb75b955bf fix vulkan crash while runing in background (#10775)
* fix vulkan crash while return to background
2022-04-15 10:42:38 +08:00
bofeng-song 3a3e71632d disable sensor by default, game developer can enable it by set 'acce… (#10770)
* disable sensor by default,  game developer can enable it by set 'accelerometerEnable' to true
2022-04-15 09:49:56 +08:00
timlyeee 72bd01f273 Combine hash with validator/agent (#10753)
While the texture is destroyed, the old validator is destroyed and new validator inited.

But framebuffer validator maintains the old one as hash is the same, so when it start the validation check, the old texture validator jumped out and assertion failed.
2022-04-14 21:37:16 +08:00
Zhang mingzhen 436eb46fa4 add wrapmode settings (#10754)
Co-authored-by: zhangmingzhen <mingzhen.zhang@cocos.com>
2022-04-14 19:02:40 +08:00
Zeqiang Li 25aea26262 conditional compile swappy (#10773) 2022-04-14 18:48:49 +08:00
qiuguohua 6a3ca162f0 Add member method declaration of appdelegate (#10772) 2022-04-14 18:38:22 +08:00
godIsAProgrammer 6888128078 Update macro.ts for API reference (#10760)
* macro.ts

* update macro file

Co-authored-by: caoqisen <qisen.cao@cocos.com>
2022-04-14 18:20:27 +08:00
bofeng-song 9ac28d2fc0 fix wrong alpha get (#10768) 2022-04-14 17:42:16 +08:00
PP a124dd313d release _innerAudioContext after playOneShot ended (#10763)
* release _innerAudioContext after playOneShot ended

* fix ci
2022-04-14 17:04:20 +08:00
godIsAProgrammer d46c80a1e7 package.json update (#10759)
Co-authored-by: caoqisen <qisen.cao@cocos.com>
2022-04-14 17:03:27 +08:00
jk20012001 c559cab440 Fix instancing performance issue with new chips on metal (#10765)
* Fix instancing performance issue with new chips on metal

* Fix shadow bias with Batching
Update compiled shaders
2022-04-14 17:02:55 +08:00
bofeng-song 6d9123bfb3 fix compiling error (#10764) 2022-04-14 16:50:16 +08:00
godIsAProgrammer 88ca4234da macro.ts (#10758)
Co-authored-by: caoqisen <qisen.cao@cocos.com>
2022-04-14 16:44:27 +08:00
PP a3f997dfda optimize text baseline on runtime platform (#10751)
* optimize text baseline on runtime platform

* move into minigame module
2022-04-14 16:42:40 +08:00
Leslie Leigh (李的序) 0a4c8f9620 Typedoc link (#10749)
* Typedoc link

* Update

* Update

* Update
2022-04-14 16:41:54 +08:00
King Wang 287ad8d01f fix Return type of set is any in vec3 and some types (#10722) 2022-04-14 16:37:21 +08:00
jk20012001 aebdeba97a Fix toggle environment lighting diffusemap failed (#10739)
* Fix toggle environment lighting diffusemap failed
Add CCGetShadowFactorSoft5X

* revert soft shadow shader code
2022-04-14 16:29:16 +08:00
SijieWang a3cd62e8c6 [Update] Update the 2D scene template (#10752)
* [Update] Update the 2D scene template

* review code

Co-authored-by: Sijie <devhacker520@hotmail.com>
2022-04-14 11:51:30 +08:00
Santy-Wang ced2114d1d rename to uppercase (#10746) 2022-04-13 13:58:23 +08:00
Leslie Leigh (李的序) d6bd654169 The instantiation of animation graph should be done at loading phase (#10728)
* The instantiation of animation graph should be done at loading phase

* Update
2022-04-13 12:53:01 +08:00
徐兵 b64ff3dd61 remove bakeOfflineMipmaps (#10742) 2022-04-13 11:51:36 +08:00
qiuguohua 11c14e70e5 Delete qnx related redundant files (#10741)
Co-authored-by: qiuguohua <862332094@qq.com>
2022-04-13 09:48:30 +08:00
Cocos Robot a8bbc166ff [ci skip][AUTO]: Automated clang-format update: 9beaedb1d2e5a42304693825ec617b3570ee7ca4 (#10723) (#10725)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-04-11 15:51:39 +08:00
李吉林 d366f6c7df fix octree culling (#10723) 2022-04-11 15:49:52 +08:00
Zeqiang Li c11221820d disable ds pipeline validation (#10701) 2022-04-11 15:03:49 +08:00
qiuguohua 4450700cc5 Design flaw, conflicts between initializing the default platform and … (#10711)
* Design flaw, conflicts between initializing the default platform and creating a custom platform

* Fix the error of clang-tidy

Co-authored-by: qiuguohua <862332094@qq.com>
2022-04-11 13:56:07 +08:00
Zeqiang Li 03eda2c874 update external config (#10720) 2022-04-11 13:54:42 +08:00
Santy-Wang 83b67e5292 walk around iOS 15.4 wasm memory issue (#10721) 2022-04-11 12:40:30 +08:00
Yiwen 833d98a5a1 bypass the bug that vulkan destroys resources in use. (#10716) 2022-04-11 11:18:01 +08:00
Cocos Robot 453963b7a7 [ci skip][AUTO]: Automated clang-format update: 50961cb082fc2f5d6cd066d697d5612b997eaafd (#10712) (#10719)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-04-11 11:10:48 +08:00
qiuguohua e20e4b889e V3.5.0 Distribute touch events independently (#10712)
* Distribute touch events independently

* remove  touch event cast

* Fix the error of clang-tidy

Co-authored-by: qiuguohua <862332094@qq.com>
2022-04-10 22:10:15 +08:00
Leslie Leigh (李的序) a7f48be180 Remove deprecated API in animation module (#10645)
* Remove deprecated API of animation

* Update

* Revert removal of animation component
2022-04-10 21:56:16 +08:00
Myway 9d2e32535d reset lightmap when rebuild terrain (#10714) 2022-04-10 15:56:09 +08:00
Yiwen 42e4a3bb15 fix the performance issue caused by texture mipmap (#10713)
* fix mipmap performance issue
2022-04-10 15:53:49 +08:00
jk20012001 e78c4c852b Fix #11925 skin instancing vertex attributes binding order for native engine (#10703) 2022-04-09 21:18:24 +08:00
alpha 4ded28118b improve camera-component inspector (#10708) 2022-04-09 10:21:42 +08:00
pandamicro ed3723b000 Fix native module override (#10709) 2022-04-09 09:44:48 +08:00
江战 bf2aab68cf Create external-config.json (#10707) 2022-04-08 20:58:46 +08:00
zhakesi 3d93c22bf7 fix: set tmxAsset not apply file (#10690)
* fix: set tmxAsset not apply file

* fix code style

Co-authored-by: zhakesi <zhakesi@foxmail.com>
2022-04-08 19:47:49 +08:00
ChiaNing 044eb819f1 fix rich text children index bug (#10700)
* fix rich text children index bug

* change algorithm
2022-04-08 19:46:23 +08:00
PP d749bbe1c4 remove legacyPublic tag (#10702) 2022-04-08 19:41:20 +08:00
PP cd03f2da2d fix rendering not working on wechat subcontextview (#10698) 2022-04-08 14:48:15 +08:00
Zeqiang Li 941f165a38 correct statistics (#10667) 2022-04-08 14:42:06 +08:00
江战 4efa771d35 3.5 add cmake hooks support for cocos-service (#10691) 2022-04-08 13:44:57 +08:00
pandamicro f15932c146 Minor module refactor in core/renderer/ (#10643)
* Move render-scene and native-scene

* Minor changes
2022-04-08 13:06:30 +08:00
ChiaNing f36e9a2799 fix scroll view Auto Scroll Brake bug (#10693) 2022-04-08 11:51:18 +08:00
minggo be735449af Revert "remove some deprecated api (#10656)" (#10694)
This reverts commit a1b1fc5a09.
2022-04-08 11:51:06 +08:00