Commit Graph

18864 Commits

Author SHA1 Message Date
oahc09 c2d6d7fc53 fix:WebSocket connection to 'ws://XXXX/' failed: A server must not mask any frames that it sends to the client. (#12882) 2022-09-27 17:45:56 +08:00
jk20012001 108c9de774 update default-skybox and sun direction (#12917) 2022-09-27 17:08:09 +08:00
troublemaker52025 2e547b265c add i18n for shadow (#12906) 2022-09-27 16:32:46 +08:00
Zhang mingzhen f40cbe910d sort the attributes (#12904)
Co-authored-by: zhangmingzhen <mingzhen.zhang@cocos.com>
2022-09-27 14:44:25 +08:00
zhangxin 2dc1396c08 If it is preview, replace overrideUuid directly (#12905) 2022-09-27 12:00:22 +08:00
zhakesi 0db6cc04db add a comment for readAttachment (#12902) 2022-09-27 10:39:19 +08:00
江战 4dcfe23948 3.6.2 fix android orientation crash (#12885)
* do not cache argument in global space

* add doc
2022-09-27 10:35:54 +08:00
jk20012001 8a2f17cc0b add i18n for skybox (#12899) 2022-09-27 10:34:15 +08:00
Zeqiang Li f730a810a1 wgpu: remove reinit on same object (#12799) 2022-09-27 10:33:51 +08:00
zhakesi 993fd74c64 fix binary format spine load crash (#12894) 2022-09-27 10:14:55 +08:00
timlyeee 8b4789d7af [Bug fix] remove the player of the audio source when its clip is set to null (#12865)
* remove player when the audio source's clip is set to null
2022-09-26 11:20:22 +08:00
oahc09 170c0f39e7 fix:CC_ASSERT(!_currentApp.expired()); (#12844)
application has destroyed when WebSocketServer process callback in game thread
2022-09-26 11:00:32 +08:00
zhakesi a7a924a6ed fix tiled merge draw call with sprite (#12877) 2022-09-26 10:36:24 +08:00
PP 5292508372 feat: support webgpu on build-engine (#12627)
* feat: support webgpu

* build-engine-feat: support building external asset

* update

* Publish @cocos/build-engine@4.4.0-webgpu.0
2022-09-26 10:03:56 +08:00
zhakesi 01899fb656 spine/dragonbones support batch mode in web platform (#12847)
* spine/dragonbones support batch mode in web platform

* set data hash 0 in commitMiddleware

* optimizate merge draw batch for middleware

* keep commitIA in batcher2d

* modify deprecated about commitIA
2022-09-26 09:58:19 +08:00
Cocos Robot 37120028a1 [ci skip][AUTO]: Automated code generating update: 3200403d155bbfbdef67440c48febc087ac1f0e5 (#12786) (#12871)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-09-26 09:56:42 +08:00
jk20012001 4ad23f2193 fix submeshes have different instancing options (#12786) 2022-09-23 16:55:04 +08:00
jk20012001 b44afa4604 update default_skybox and sun direction (#12811) 2022-09-22 15:00:44 +08:00
江战 19fe1db252 LogRemote upgrade configuration protocol (#12833)
* update config

* Update LogRemote.cpp
2022-09-22 14:29:05 +08:00
timlyeee f341032746 [Optimize] Cache current time for audio player in minigame. (#12814)
* Cache current time for minigames

* Save current time as private member

* Make cache time changed in callback

* update cache time to abort middle state for seek
2022-09-22 14:20:52 +08:00
jk20012001 72219a28cf [code] move decode32 to unpack.chunk (#12823) 2022-09-22 10:27:51 +08:00
江战 f72898a4a8 simplify (#12782) 2022-09-21 11:40:11 +08:00
Santy-Wang d6f38f3606 Merge pull request #12824 from cocos/v3.6.1
sync V3.6.1 to v3.6.2
2022-09-20 17:59:33 +08:00
Cocos Robot 8ec814ed5b [ci skip][AUTO]: Automated code generating update: 88c3a7ffdd8f95cd2c7776d6d3d6a8e36862d0bf (#12788) (#12818)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-09-20 17:33:59 +08:00
zhakesi c7761e5c19 middleware2d components rendering in native mode (#12788)
* middleware2d components rendering in native mode

* support spine/dragonbones set enable batch

* support spine rendering in batching mode

* get batcher2d instance from root

* process about with type conversion

* fix some code style

* use material hash to merge draw batch

* deal with fill z

* fix dragonbones fill z

* remove some code no used any more

* refactoring some code

* modify some code

* add free memory

* fix clang-tidy

* delete mesh-buffer-layout in destructor

* byte alignment
2022-09-20 13:31:33 +08:00
袁炜海 3c5222c544 feat: update meta files (#12807) 2022-09-20 11:43:08 +08:00
bofeng-song e16b6903ce refine: remove unneeded code (#12808) 2022-09-19 18:27:07 +08:00
James Chen 7dfe3bebce [native] Fix getting wrong value of globals.ambient.skyLightingColor (#12810) 2022-09-19 17:18:34 +08:00
troublemaker52025 91b377968d [Bug] fix spotAngle according to code merging error (#12801) 2022-09-16 17:59:28 +08:00
江战 4947bb039a fix mac gradlew path (#12800) 2022-09-16 16:24:58 +08:00
徐兵 2d9c69edf3 reverse occlusion parameter in effects (#12795) 2022-09-16 16:06:15 +08:00
徐兵 7719bea1ce fix transparency, emissive and specularfactor with dcc effects (#12798) 2022-09-16 16:01:24 +08:00
mmyduckx a5768715a8 fix okhttp onClosing not call close (#12783) 2022-09-16 10:37:35 +08:00
Zeqiang Li f5c4dee6db Wgpu 3.6.2 WGPU_CI_ON (#12731) 2022-09-16 10:20:52 +08:00
hyde zhou cab07e9b7f add RenderQueue custom ability to classic pipeline (#12760) 2022-09-15 17:37:00 +08:00
changhua 6fd6f0b5ba [Feature] build template add config file (#12701)
* part of build template add config json for creating build templates and version checks for each platform

* update default template version
2022-09-15 16:28:13 +08:00
黄森斌 809e91f295 update CN i18n words (#12778) 2022-09-15 14:51:26 +08:00
Leslie Leigh (李的序) fbe3b543c4 Fix adjustTransitionPriority in case of serialization (#12770)
* Fix adjustTransitionPriority in case of serialization

* Fix lint
2022-09-15 10:41:56 +08:00
minggo b035f697bf Merge pull request #12769 from cocos/v3.6.1
V3.6.1
2022-09-15 09:46:23 +08:00
timlyeee 3e7d44925f [BUG] Decoder returns a wrong bytesPerFrame. (#12771)
As it forget to calculate the channel count for multi-channel audio
2022-09-15 09:44:34 +08:00
James Chen b0600bd89e fixed #12772: Node.pause/resumeSystemEvent not working on native platform. (#12773) 2022-09-15 09:43:28 +08:00
徐兵 df68547421 add terrain surface shader (#12764) 2022-09-14 17:57:51 +08:00
Myway 4ae7ada548 fixed rebuild normal error (#12767)
* fixed terrain lod error for lodEnable change

* using standard light map uniform for terrain effect

* fix eslint error for terrain.ts

* use @engineInternal tag for TerrainRenderable._lightmap

* add @engineInternal for terrain block interface

* remove @engineInternal for terrain brush interface

* fixed rebuild normal error
2022-09-14 17:53:50 +08:00
Myway 83c7721fd1 remove @engineInternal for terrain brush interface (#12766)
* fixed terrain lod error for lodEnable change

* using standard light map uniform for terrain effect

* fix eslint error for terrain.ts

* use @engineInternal tag for TerrainRenderable._lightmap

* add @engineInternal for terrain block interface

* remove @engineInternal for terrain brush interface
2022-09-14 17:35:14 +08:00
fqamic f838e06c51 improve: move xr init to infrastructure (#12765)
* improve: move xr init to infrastructure

* fix: move initxr, before gfx

* fix: format warning
2022-09-14 17:33:51 +08:00
fqamic 18d2d57447 improve: update external version and remove some redundant codes (#12759)
* feat: update external version

* improve: remove redundancy code
2022-09-14 16:45:40 +08:00
Myway 99955ee864 fixed terrain lod error for lodEnable change (#12761)
* fixed terrain lod error for lodEnable change

* using standard light map uniform for terrain effect

* fix eslint error for terrain.ts

* use @engineInternal tag for TerrainRenderable._lightmap

* add @engineInternal for terrain block interface
2022-09-14 15:59:46 +08:00
mmyduckx 9f64efb024 fix parser HttpRequestHeader (#12757)
* fix parser HttpRequestHeader
2022-09-14 15:29:33 +08:00
Santy-Wang f465073500 fix builtin asset hot-reload (#12736) 2022-09-14 14:26:51 +08:00
LeeYip 44dd12a6fe [fix] bmfont uv bug when overflow is clamp (#12374) 2022-09-14 11:42:39 +08:00