Commit Graph

2144 Commits

Author SHA1 Message Date
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
troublemaker52025 a076fb496c merge valid punctual light culling for v3.4.0 (#9664)
* merge valid punctual light culling for v3.4.0

* update

* update 2

* update 3

* update 4
2021-11-18 13:45:35 +08:00
Leslie Leigh (李的序) d5154269e2 Fix log() takes not effect if debug mode <= verbose (#9681) 2021-11-18 12:00:24 +08:00
Yun Hsiao Wu 2ff4e8a8cf set model dirty when attaching to scene (#9674) 2021-11-17 18:54:09 +08:00
Leslie Leigh (李的序) 05484abc30 Rename animation.StateStatus -> animation.MotionStateStatus (#9675) 2021-11-17 15:55:03 +08:00
jk20012001 d3fe96f5cc Fix linear color in other effects (#9665)
* Fix linear color in other effects

* Update compiled shaders

* Fix name
2021-11-16 17:48:38 +08:00
pandamicro 4c526a60c7 Update comment about component.schedule 2021-11-16 10:10:02 +08:00
zxx43 781ae1a6dc V3.4 vulkan shader fix (#9663)
* fix pseudoRandom vulkan compatible issue

* refine shader

* add comment for this issue
2021-11-15 20:03:39 +08:00
timlyeee cddda466a2 fix eslint for splash-screen.ts (#9662) 2021-11-15 10:09:05 +08:00
PP 93352ac8e7 fix nodeEventProcessor.once() (#9649)
* fix `nodeEventProcessor.once()`

* optimize return type

* support _registerOffCallback in CallbacksInvoker
2021-11-15 10:08:27 +08:00
timlyeee 3b7d6ce7be Mixin => Addon for pipeline (#9648) 2021-11-13 15:38:44 +08:00
Santy-Wang 89f8cfbad3 optimize layer (#9658)
* optimize layer

* refine
2021-11-13 15:33:07 +08:00
timlyeee e0d8758fcb [temp hack] use simple flag to pause splashScreen (#9606)
* use simple flag to control framemove

* Pause splashScreen for native platform as windows

* .

* remove unused include

* rename functions
2021-11-12 14:39:53 +08:00
PP 1abbc90c23 compability for PROPORTIONAL_TO_FRAME container strategy (#9642)
* support isProportionalToFrame field on screen-adapter

update

stash

* rename _setupContainer to _setupCanvas

* optimize view.setResolutionPolicy()

* remove TIME_OUT to handle resize event

* compability for PROPORTIONAL_TO_FRAME container strategy

comp

update

* add NOTE

* optimize 'window-resize'

resize

* deprecate game.frame && game.container

deprecate

game

* close screen.resolutionScale interface

close

* fix npm test

* fix view unit test

* space
2021-11-11 19:24:39 +08:00
Yun Hsiao Wu a3bc15d83d misc fixes (#9631)
* prefer D24S8 first

* webgl creates only one context

* restore render area semantic

* fix inefficient usages in pipeline

* fix raycast pre-rotation adaptation

* draw profiler only once
2021-11-11 17:21:09 +08:00
jk20012001 4f3d85ab78 Fix fog macro->function arguments type error (#9637)
* Fix fog macro->function arguments type error
Fix fog color linear conversion

* Fix eslint warning
2021-11-10 14:31:09 +08:00
GengineJS 1d0fadb6f4 Restore part of pipeline code (#9644) 2021-11-10 13:46:49 +08:00
PP ab69d20027 Revert "deprecate ENABLE_WEBGL_ANTIALIAS (#9626)" (#9645)
This reverts commit 5ffc4482cd.
2021-11-10 11:27:51 +08:00
jk20012001 f488ea0bb1 Fix initialize function override mip levels(groundalbedo.w) (#9633)
* Fix initialize function override mip levels(groundalbedo.w)

* Code style
2021-11-05 17:51:00 +08:00
jk20012001 7ad092a260 Fix: linear color conversion without alpha channel (#9620)
* Fix: linear color conversion without alpha channel

* Code style
2021-11-05 15:22:23 +08:00
PP d39ce3d3d8 support preventSwallow on EventMouse && EventTouch (#9621)
* support swallowedByTopNode on EventMouse && EventTouch

* experimental

* deprecation

* revert deprecate touch

* use swallowEvent

* update

* use preventSwallow
2021-11-05 14:04:54 +08:00
PP 5ffc4482cd deprecate ENABLE_WEBGL_ANTIALIAS (#9626)
* deprecate ENABLE_WEBGL_ANTIALIAS

update

* remove deprecation usage
2021-11-05 10:40:51 +08:00