Commit Graph

2165 Commits

Author SHA1 Message Date
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
Leslie Leigh (李的序) d47f5eb6a5 AnimationController.variables() (#9710)
* AnimationController.variables()

* rename, add test

* rename
2021-11-24 14:54:56 +08:00
troublemaker52025 21904d5a6b fix shadowMap texture closed loopv for v3.4.0 (#9716) 2021-11-23 18:30:38 +08:00
李吉林 abfd2bf5ee update world bound optimization (#9713) 2021-11-23 17:12:55 +08:00
李吉林 8b8d9270c9 add octree setting (#9706)
* add octree setting

* remove lagecy assignment
2021-11-23 13:34:04 +08:00
Santy-Wang c08d69f664 introduce container manager (#9640)
* introduce pool manager

refine

refine

fix render mode

introduce pool manager

refine

* refine

* fix ci

* fix spine buffer

* add unit test

* add unit test 2
2021-11-22 23:23:19 +08:00
Jare Guo e6ac06e077 Always expose component missing error in runtime (#9701)
* Always expose component missing error in runtime

* Fix eslint

Co-authored-by: pandamicro <lphuabin@gmail.com>
2021-11-22 23:19:45 +08:00
Yun Hsiao Wu d0748cf024 should sync to native after gen flat buffer (#9688) 2021-11-19 18:51:05 +08:00
ChiaNing 0173699089 Add renderData cache & simplify merge check (#9651)
* Add renderData cache & simplify merge check

* move function

* remove material id

* change dirty name

* fix CI
2021-11-19 18:21:02 +08:00
zhakesi fed044e8fb optimize opacity update (#9679)
* optimize opacity update

* remove _cacheAlpha

* modify code style

* Update cocos/core/scene-graph/node-ui-properties.ts

* Update cocos/core/scene-graph/node-ui-properties.ts

* 1. supplement unit test case
2. supplement default dirty parameter

(cherry picked from commit 7e62d265ffbc8566e92bfcc10c1f9eb68e081487)

Co-authored-by: Santy-Wang <wh19930829@qq.com>
Co-authored-by: zhangmingzhen <mingzhen.zhang@cocos.com>
2021-11-19 17:35:19 +08:00
Yun Hsiao Wu 1763f2556e fix default property missing when property index is set (#9683) 2021-11-18 16:35:29 +08:00