Commit Graph

17351 Commits

Author SHA1 Message Date
jk20012001 34711f9a65 fix #10808 Diffuse map not applied after removing env map and reset them (#10813)
* fix #10808
show warning message when diffuse map resource is missing

* code style

* code style

* code style

* add error message

* code style
2022-04-20 18:49:38 +08:00
Santy-Wang e82cec17ac update docs (#10796)
* update docs

* update docs more

* refine

* refine
2022-04-20 18:47:53 +08:00
hyde zhou 019d35b22e [V3.5.0 deferred pipeline] fix vulkan crash problem (#10809)
* disable post-process alpha blend

* effects updated

* effects updated

* vk fix added

* disable gles3 fbf

* fix typo

* format and add comments

* add TODO

* fix TODO
2022-04-20 18:26:48 +08:00
timlyeee 65a05558c2 check the existence of depthStencilTexture first. (#10777)
If exist, hash combine
2022-04-20 17:56:20 +08:00
qiuguohua 18d3ce2f60 Delete useless files, the application has been refactored. (#10807) 2022-04-19 18:19:21 +08:00
江战 4ad14b6f6a Update jsb_conversions.h (#10806) 2022-04-19 18:10:27 +08:00
jk20012001 d4fbe4f017 toggle hdr mode and without diffusemap file, show warnings and fix to… (#10805)
* toggle hdr mode and without diffusemap file, show warnings and fix to right lighting type

* use warnID instead of plain text

* code style
2022-04-19 17:57:11 +08:00
jk20012001 7dd624f8fe remove v_bitangent, optimize vs varying data size for performance issue with metal (#10797)
* remove v_bitangent, optimize vs varying data size for performance issue with metal

* update compiled shaders
2022-04-19 15:24:20 +08:00
godIsAProgrammer 5bd5e1f5b0 remove useless module @cocos/typedoc-plugin-localization (#10800)
Co-authored-by: caoqisen <qisen.cao@cocos.com>
2022-04-19 13:34:48 +08:00
Leslie Leigh (李的序) b6e9df662d Optimize ts template (#10801) 2022-04-19 13:34:11 +08:00
GengineJS 3cea8e7fb8 Fix CCLocal and CCForwardLight binding error of deferred pipeline (#10778)
* Fix CCLocal and CCForwardLight binding error of deferred pipeline

* post process stage enable blend

* Modify the way post process stage alpha blending

* restore postprocess
2022-04-19 11:45:33 +08:00
黄森斌 10e243894b material of fbx in internal-db not show clone button (#10798) 2022-04-19 10:17:03 +08:00
黄森斌 ca5b486583 update meta files (#10799) 2022-04-19 10:16:31 +08:00
黄森斌 51d3e02e32 [Bug](inspector) fix asset undo bug (#10795)
* fix asset undo bugs

* modify i18n
2022-04-18 17:29:28 +08:00
Leslie Leigh (李的序) b4cc1bfcc6 Add AnimationMask.joints setter (#10780)
* Add AnimationMask.joints setter

* Update

* Unit test
2022-04-18 10:55:55 +08:00
Zeqiang Li d2508691e4 dsiable type validator (#10784)
* dsiable type validator

* add comment

Co-authored-by: Zeqiang Li <zeqiang-li@outlook.com.com>
2022-04-16 20:02:41 +08:00
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