Commit Graph

2175 Commits

Author SHA1 Message Date
troublemaker52025 69cd9f5c23 fallback baidu not support shadow for v3.4.1 (#9897) 2022-01-05 23:27:11 +08:00
troublemaker52025 17e0e7ea7b Combing planar-shadow calculations for v3.4.1 (#9903)
* Combing planar-shadow calculations for v3.4.1

* update

* update
2022-01-05 23:26:23 +08:00
Yiwen 8402289d77 fix the bugs found in PR9854. (#9875)
* 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

* fix the bugs introduced in PR9854.
bug: forgot to update the active texUnit in stateCache.

* reduce the use of dot operator to improve performance.

* fix the bug introduced in the previous commit

* reduce the use of dot operator to improve performance
2022-01-05 23:20:47 +08:00
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
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
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
alpha f153b5cc1b fix Color.fromHex Bug (#9867) 2021-12-28 11:52:01 +08:00
Yun Hsiao Wu 437b5c3d81 material.copy accepts overrides (#9881) 2021-12-28 11:12:24 +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 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
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
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
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
ChiaNing 07a78f4a55 add profiler reset (#9806) 2021-12-17 10:56: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
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
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
zheng han d835b0bc99 fix prefabInstance creation under mounted children (#9804) 2021-12-13 15:32:09 +08:00
zheng han 85e321819e fix __prefab copy (#9792)
known eslint issue in `instantiate.ts`
2021-12-13 15:30:21 +08:00
troublemaker52025 afe53d9d71 fix shadowMap sampler accuracy loss for v3.4.0 (#9794) 2021-12-10 18:16:05 +08:00
jk20012001 c8aeb5908f Add scene panel component help url and item tooltips (#9783)
* 增加场景面板help和tooltips

* 增加场景面板help和tooltips

* update tooltips

* Apply suggestions from code review

Co-authored-by: yufang.wu <2435731537@qq.com>

* Apply suggestions from code review

Co-authored-by: yufang.wu <2435731537@qq.com>

Co-authored-by: yufang.wu <2435731537@qq.com>
2021-12-09 18:58:22 +08:00
Zeqiang Li c6ddec684a fix webgl2.0 context lost when launched (#9788) 2021-12-09 15:52:42 +08:00
Leslie Leigh (李的序) b4ec6c576e Fix AnimationGraph.disconnect() (#9785)
* Fix AnimationGraph.disconnect()

* Update comment
2021-12-09 15:29:19 +08:00
Yun Hsiao Wu 810dbc7e29 fix int block init (#9781) 2021-12-08 12:50:44 +08:00
Leslie Leigh (李的序) 080053bc33 Empty tracks shall not take effect (#9777)
* Empty tracks shall not take effect

* Fix test

* Fix test
2021-12-08 10:31:20 +08:00
PP ab8c58b608 optimize missing class report (#9762) 2021-12-06 19:13:20 +08:00
李吉林 3238227647 add tooltip for octree culling (#9770)
* add tooltip for octree culling

* change tooltip

* change English tooltip

* change tooltip
2021-12-06 17:51:49 +08:00
Yun Hsiao Wu c8efc1491d fix texture lod extension (#9761) 2021-12-06 09:59:33 +08:00
ChiaNing 99bdb07378 Revert "mesh buffer cache add (#9728)"
This reverts commit 1c0db6414a.
2021-12-03 19:46:09 +08:00
Yun Hsiao Wu a4cfc6bde6 fix int uniform (#9738) 2021-11-30 22:50:17 +08:00
GengineJS ca1d3c0bc5 Fix bloom failure (#9737) 2021-11-28 13:15:25 +08:00
ChiaNing 1c0db6414a mesh buffer cache add (#9728)
* UI MeshBuffer Cache add

* support hierarchy changed event

* notify upper

* use Dirty by Hierarchy Changed

* PR fix

* Fix CI

* fix CI

* support hierarchy changed event & function name change

* function name change

* comment add

* type change

Co-authored-by: santy-wang <wh19930829@qq.com>
2021-11-25 21:25:16 +08:00
troublemaker52025 b3f17b3e5c revert globalDescriptorSet not binding for v3.4.0 (#9730) 2021-11-25 17:29:30 +08:00
troublemaker52025 f0504e98f6 Sync baked properties to v3.4.0 native (#9722) 2021-11-25 15:41:27 +08:00
Zhang mingzhen 083918f92b console exception if comp'node is null (#9723)
* output error when node of comp is null #9214

(cherry picked from commit 2d8ac78094af8a5ef1866140abb2819ed0bf8bba)

* use 'assertIsTrue'

(cherry picked from commit 62a29d8cce733de49220945a2de0dd0f40e3a1f6)

* update log

(cherry picked from commit ad4327e95f4f1e75a18f2cb2b0e7127260a4ed35)

* optimize format

* add DEBUG condition and fix bug

* output error when comp.name is invoked and replace condition that judge whether comp.name is valid.

* remove component.name error log and optimize null node exception report

Co-authored-by: zhangmingzhen <mingzhen.zhang@cocos.com>
2021-11-25 10:08:12 +08:00
troublemaker52025 8d89369b11 RenderAdditiveLightQueue exclude transparent model for v3.4.0 (#9726) 2021-11-24 18:55:46 +08:00
GengineJS 0bb4aa6716 Native render scene add uniqueness judgment (#9704)
* Native render scene add uniqueness judgment

* JointMedium adds nativeObj judgment
2021-11-24 15:46:41 +08:00
PP 5f1d50edfd optimize game pause interface design (#9709)
* optimize game pause interface design

* optimize note
2021-11-24 15:39:20 +08:00
Jare Guo e4d503885c Add MissingScript debug code, no functional changes (#9618) 2021-11-24 15:30:56 +08:00