Commit Graph

11477 Commits

Author SHA1 Message Date
Leslie Leigh (李的序) ac49b8b6a0 Refactor communication between skinned mesh renderer and skeletal animation (#9787)
* Refactor communication between skinned mesh renderer and skeletal animation

* Update
2022-01-05 13:40:54 +08:00
Greg1129 fd5ca96299 fix bug bulitin default texture (#9916) 2022-01-04 17:05:11 +08:00
Leslie Leigh (李的序) 8e906c79a8 build-engine add chunk aliases to build result(cherry-pick #9894) (#9895) 2022-01-04 14:15:17 +08:00
timlyeee f5a6a64372 Jsb-event-handler for event dispatch (#9879) 2022-01-04 13:37:44 +08:00
zxx43 79abbd55b9 Fix particle index count 0 (#9885)
* check index count 0

* fix indent
2022-01-03 23:02:28 +08:00
PP a0f89df96c fix audio bugs (#9889)
* fix setting audioSource.clip as null

https://github.com/cocos-creator/engine/pull/9782

* destroy audio player

* use null instead of undefined

Co-authored-by: dream93 <dream_chou93@163.com>
2021-12-30 19:12:07 +08:00
Greg1129 6f3b1fae0c fix bug: remove all actions by tag (#9876)
* fix bug: remove all actions by tag

* add tween unit test

* add @internal comment

* fix using backward delete

* add commnets by eslint
2021-12-30 17:55:11 +08:00
jk20012001 2f6f50ec7f Fix skybox RGBE macro get invalid in startup and mipmap count is overrided (#9904)
* Fix skybox RGBE macro get invalid in startup
Fix mipmap count is overrided

* fix after apply diffusemap scene will not refresh
2021-12-30 17:53:45 +08:00
zhakesi a2bb27f2e4 fix readpixels (#9900)
* fix function readPixels height setting

* add paramter to receive pixel data for readPixels.

* use errorID

* modify error description

* fix import { errorID }
2021-12-30 14:16:30 +08:00
mu xiandong a8234cfb14 Update Scheduler API (#9815)
* Update Scheduler API

Sync 3.4.0

changeLog:
The delay parameter of schdule is in seconds and needs to be marked
Re https://forum.cocos.org/t/topic/126830

* fix eslint

fix eslint

* Update scheduler.ts

* Update scheduler.ts

* Update scheduler.ts

Co-authored-by: muxiandong <24754593@qq.com>
2021-12-30 10:03:36 +08:00
zhakesi 575b2caedd revert spine export (#9896) 2021-12-29 17:19:50 +08:00
zhakesi 36c13c190b V3.4.1 issue 10573 (#9892)
* fix export spine failed.

* import spine from spine-core.ts
2021-12-29 14:23:21 +08:00
Greg1129 5d3b5d64c8 modify builtin texture generation + particle unit test (#9841)
* modify builtin texture generation + particle unit test + particle system capacity issue 10417

* change texture format to RGBA8

* modify builtin texture generation

* modify format and remove particle parts out to another pr

* fix array buffer view generation
2021-12-29 10:35:57 +08:00
troublemaker52025 028b274ac0 Optimize fixedArea mode culling process for v3.4.1 (#9878) 2021-12-28 15:35:49 +08:00
黄森斌 b3babeab29 change ts template (#9883) 2021-12-28 14:28:30 +08:00
alpha f153b5cc1b fix Color.fromHex Bug (#9867) 2021-12-28 11:52:01 +08:00
Zhang mingzhen 6601d1d2de Label string setter optimization (#9880)
* remove rebundant onDisable

* update label.string.setter and add unit test case

Co-authored-by: zhangmingzhen <mingzhen.zhang@cocos.com>
2021-12-28 11:27:58 +08:00
Yun Hsiao Wu 437b5c3d81 material.copy accepts overrides (#9881) 2021-12-28 11:12:24 +08:00
fish9167 5ffe5aee23 Add GitHub Action (#9872)
* Add GitHub Action

Add GitHub Action: run test cases

* Update run_test_cases.yml

* Update run_test_cases.yml

* Update run_test_cases.yml

* Update run_test_cases.yml

* Update run_test_cases.yml

* Update run_test_cases.yml

* Update run_test_cases.yml

* Update run_test_cases.yml

retry github action

* Update run_test_cases.yml

updata npm

* Update run_test_cases.yml

* Update run_test_cases.yml

* Update run_test_cases.yml

* Update run_test_cases.yml

retry github action

* Update run_test_cases.yml
2021-12-28 11:08:31 +08:00
PP 3a3f1ea151 fix set frame rate on runtime (#9874) 2021-12-27 14:35:18 +08:00
minggo 4680589de7 detach from scene before destroying Model/Light (#9869) 2021-12-27 10:42:26 +08:00
ChiaNing 36a078e7cb Revert "Add extra steps to the destroy functions to update the cached resources. (#9854)" (#9873)
This reverts commit acb3fce607.

Co-authored-by: Yiwen <15225434259xue@gmail.com>
2021-12-24 19:26:02 +08:00
jk20012001 0c19b9a883 fix define syntax error (#9870)
* fix define syntax error

* fix toon shader syntax error
2021-12-24 17:36:47 +08:00
jk20012001 eb883997a1 Fix #10538: Android+WebGL PS struct variables has mediump precision (#9863)
* Fix #10538: Android+WebGL PS struct variables has mediump precision

* update compiled shaders

* review modification

* update compiled shaders
2021-12-24 11:01:54 +08:00
Zhang mingzhen 0624fb1d2e Mask not work with spine v3.4.1 (#9864)
* add condition spine preRenderComponent validation before autoMergeBatches

(cherry picked from commit 04fcebde46ec264c0f09e6afdcba54ae6935a1fc)

* add explanations

(cherry picked from commit 72f8439cfdeda28d4f9b944b4f3d5640bbd05fb3)

Co-authored-by: zhangmingzhen <mingzhen.zhang@cocos.com>
2021-12-23 18:59:26 +08:00
troublemaker52025 bc7afddd4a fix shadow queue perfprmance for v3.4.1 (#9862)
* fix shadow queue perfprmance for v3.4.1

* update
2021-12-23 17:22:30 +08:00
jk20012001 c1146b813c Fix skeleton model receive shadow macro error and toon shadow display errors (#9836)
* 修复骨骼模型接受阴影的开关无效 及 toon shadow计算的错误

* toon精确判断背光面及强制所有面接受阴影

* toon使用参数来调节接受阴影的区域
2021-12-23 17:18:34 +08:00
PP 1f58fbff6c cache systemInfo on Cocos Play platform (#9856)
* cache systemInfo on Cocos Play platform

* resize swapChain
2021-12-23 11:40:00 +08:00
Yiwen acb3fce607 Add extra steps to the destroy functions to update the cached resources. (#9854)
* Add extra steps to the destroy functions to update the cached resources.
This will make sure that the resources in device.stateCache is valid.

* unbind a resource before destroying it

* remove unnecessary non-null assertion

* update the state after the destruction to make the process robust
2021-12-22 16:06:22 +08:00
Yun Hsiao Wu 92797e1efa disable multi_draw extension on mobile (#9835) 2021-12-21 17:53:05 +08:00
zxx43 7ece432cbc Improve gpu particle performance (#9847)
* improve gpu particle performance

* fix eslint error
2021-12-21 17:50:34 +08:00
PP 10634ea544 resctrict DPR on Web platform (#9850) 2021-12-21 17:21:25 +08:00
Zhang mingzhen bb55156164 add decorator “serializable” (#9848)
Co-authored-by: zhangmingzhen <mingzhen.zhang@cocos.com>
2021-12-21 16:29:47 +08:00
xubing 2ef43a2bb2 repair UseHDR button& Skybox HDR status (#9843)
Co-authored-by: xubingbing <bingbing.xu@cocos.com>
2021-12-20 16:34:37 +08:00
troublemaker52025 773bf57c61 updateLightingmap sync to native-engine for v3.4.1 (#9828)
* updateLightingmap sync to native-engine for v3.4.1

* update

* merge JSB binding
2021-12-20 10:32:57 +08:00
pandamicro 95554092bc Merge pull request #9839 from cocos-creator/v3.4.0
Merge v3.4.0 official
2021-12-19 16:25:15 +08:00
zxx43 65843b787f add burst restart (#9832) 2021-12-17 13:24:18 +08:00
Myway a8e5c2286c fix terrain _updateHeight texcoord error (#9809) 2021-12-17 11:17:33 +08:00
ChiaNing 07a78f4a55 add profiler reset (#9806) 2021-12-17 10:56:16 +08:00
PP b11686b4dc compability for undefined game frame (#9830) 2021-12-16 19:18:16 +08:00
pandamicro d2c42d02c6 Merge branch 'v3.4.0' into v3.4.1
# Conflicts:
#	cocos/core/builtin/effects.ts
#	cocos/core/builtin/shader-sources/glsl1.ts
2021-12-16 14:51:39 +08:00
pandamicro 8c2f07fb86 change default alpha blend params (#9784) (#9825)
Co-authored-by: zxx43 <zxx43@hotmail.com>
2021-12-16 13:41:21 +08:00
ChiaNing 5a02e89225 remove DrawCall in DrawBatch (#9824) 2021-12-16 13:10:26 +08:00
jk20012001 c33317470a update compiled shaders (#9822)
* update compiled shader

* Fix #10433: 打开safari webgl1 ddx ddy指令的扩展 (#9820)
2021-12-15 16:57:45 +08:00
Santy-Wang 8c9ce57304 bump engine version (#9818) 2021-12-15 16:39:43 +08:00
jk20012001 497769947f Fix #10433: 打开safari webgl1 ddx ddy指令的扩展 (#9820) 2021-12-15 16:37:59 +08:00
zhakesi 3a165fb7d3 fix natvie gc function (#9810) 2021-12-14 14:02:34 +08:00
Zeqiang Li 581ac9fe3b append effect.ts (#9808)
* fix crash on mtk chip

* append effect.ts

* append glsl
2021-12-13 19:02:20 +08:00
Zeqiang Li 249af30b54 fix crash on mtk chip (#9807) 2021-12-13 18:27:13 +08:00
ChiaNing 34b1b70431 fix bmfont line width bug (#9793)
* fix bmfont line width bug

* Fix CI

* fix CI
2021-12-13 16:25:23 +08:00