Commit Graph

821 Commits

Author SHA1 Message Date
pandamicro 08c7fe3956 Add pre type validator for setUniform (#13462) 2022-11-23 15:26:16 +08:00
jk20012001 07b3b692e5 update default-skybox (#13505)
* update default-skybox

* update scene

* fix json syntax error
2022-11-23 12:07:43 +08:00
徐兵 d9eab1e8d6 add code comment and fix shader compiling error (#13478) 2022-11-23 00:16:37 +08:00
troublemaker52025 050f9bdb16 add shadow layer transition for csm (#13144) 2022-11-22 18:34:08 +08:00
changhua 5f57c33159 update inspector lod label (#13486)
* update inspector lod label

* update
2022-11-22 17:33:59 +08:00
jk20012001 e120dda07f lightmap support direct / indirect and high precision data, optimize shader code and macro names (#13468)
* new version of light map for shaders

* code optimization, rename LIGHT_MAP_TYPE and REFLECTION_PROBE_TYPE, extract standard common lighting functions

# Conflicts:
#	editor/assets/chunks/builtin/uniforms/cc-reflection-probe.chunk
#	editor/assets/chunks/common/texture/cubemap.chunk
#	editor/assets/chunks/legacy/shading-standard-base.chunk
#	editor/assets/chunks/lighting-models/lighting-flow/common-flow.chunk
#	editor/assets/chunks/lighting-models/model-functions/standard.chunk

* fix conflict

* add GetPlanarReflectScreenUV

* fix cr

* fix compilation error

* reflection probe type defines

* fix CC_SURFACES_USE_LIGHT_MAP value

* fix lightmap indirect calculations
2022-11-22 16:00:44 +08:00
SijieWang 620c94ae14 [Optimize] Some of the data in the build template does not need to be… (#13476)
* [Optimize] Some of the data in the build template does not need to be saved

* review code
2022-11-22 15:48:05 +08:00
jk20012001 bbe44fad8b add FXAA HQ for custom pipeline (#13457) 2022-11-22 11:05:53 +08:00
徐兵 0f8d8cd3d9 reflection probe support instancing and moving update (#13426) 2022-11-22 10:16:55 +08:00
Gin d0bc471bd9 FIx: lifecycle hook update should not been called after panel is closed or not ready yet (#13266) 2022-11-21 14:23:50 +08:00
Gin 77c9414329 Revert "[Optimize] improve: effect select option label naming and grouping (#13415)" (#13447)
This reverts commit 85f8083517.
2022-11-21 11:08:37 +08:00
zhangxin 71e0e77905 remove reflection-probe 's inspector (#13411)
* Update reflection-probe-footer.js

* remove reflection-probe-footer
2022-11-18 17:53:33 +08:00
hyde zhou 92f2d08f52 [develop] update layout graph loading (#13368) 2022-11-18 13:43:18 +08:00
Gin 85f8083517 [Optimize] improve: effect select option label naming and grouping (#13415)
- https://github.com/cocos/3d-tasks/issues/14323
2022-11-18 12:50:45 +08:00
李吉林 6d282d2033 change default probe generating box size (#13424) 2022-11-17 18:28:37 +08:00
黄森斌 49ce6165a4 [Bug] optimize light probe button state (#13414) 2022-11-17 14:39:36 +08:00
黄森斌 642e25c977 add mesh optimizer simplify algorithm (#13376)
* add mesh optimizer simplify algorithm

* merge conflict code

* adjust i18n

* Update editor/i18n/zh/assets.js

Co-authored-by: 媛媛 <yuanyuan1497@foxmail.com>

* update zh i18n

* update zh i18n

Co-authored-by: 媛媛 <yuanyuan1497@foxmail.com>
2022-11-16 20:28:50 +08:00
黄森斌 f001b226fc after generate light probe snapshot the scene (#13409) 2022-11-16 17:36:41 +08:00
jk20012001 a769c2914c fix compilation error (#13403) 2022-11-16 15:07:56 +08:00
hyde zhou c8be7a4008 [develop] export LayoutGraphData to editor (#13377) 2022-11-16 14:56:00 +08:00
jk20012001 c7862ba08c fix reflection probe shader (#13396) 2022-11-16 14:54:27 +08:00
jk20012001 26330bda6a fix reflection probe shader compilation error, add vs surface functions (#13388) 2022-11-15 18:34:11 +08:00
AFeiYA c2fb2486ea update mtl.meta (#13374) 2022-11-14 19:20:16 +08:00
AFeiYA 4bde8ca9b1 auto generated lightmap UI (#13181) 2022-11-14 17:56:42 +08:00
jk20012001 8c37e6da7d add reflection probe for surface shader (#13349) 2022-11-14 17:39:03 +08:00
袁炜海 70baa7a514 [Feature] feat: mesh-preview support UV preview (#13332)
* feat: add mesh preview channel

* ✨ feat: support mesh uv debug

* ✨ feat: support mesh uv debug

* 🦄 refactor: update

* 🦄 refactor: clear code

* feat: mesh-preview support UV preview

Co-authored-by: moshuying <1460083332@qq.com>
2022-11-14 15:02:18 +08:00
袁炜海 78452b1de1 feat: update meta files (#13330) 2022-11-14 14:27:49 +08:00
李吉林 7a32e653cb remove component related code from native (#13352)
* remove component related code from native
2022-11-14 11:34:42 +08:00
changhua 5c75fd0d27 [Optimize] Update LOD tooltip (#13345) 2022-11-11 18:27:35 +08:00
BppleMan 6186f8b65a Optimize light-probe icon texture config (#13341)
Co-authored-by: BppleMan <bppleman@gmail.com>
2022-11-11 15:26:15 +08:00
Leslie Leigh (李的序) 70d10a5645 Animation graph variant and dynamically override clips (#12445)
* Animation graph override clips

* Update

* Fix

* Fix unit test

* support animation graph variant editing (#90)

(cherry picked from commit 273379f3883b8b2d59966249e712b9017d4355ff)

* Anim graph vari template

* tweak

* Tweak

* Mark the overrideClips as experimental

* Name bikeshed

* Tweak

Co-authored-by: 黄森斌 <arsen2010@126.com>
2022-11-11 14:14:19 +08:00
jk20012001 e757e39d7a materials migrations for modifying default effect roughness metallic value (#13337) 2022-11-11 13:52:38 +08:00
jk20012001 9a65131c87 fix effect compilation error and add s.lightmap.a with effects migration (#13335) 2022-11-11 13:38:12 +08:00
zhangxin bc9b41f0e0 Update reflection probe (#13333)
* [editor]update reflection-probe

update reflection-probe
- update reflection-probe gizmo icon
- update inspector of mesh renderer
- update inspector of reflection-probe
- reflection probe 's size will be readonly

* Update reflection-probe.ts

* eslint
2022-11-10 22:15:40 +08:00
changhua 85fa1eaf53 [3.7.0] fix lodGroup component and update inspector lod panel (#13304)
* fix lodGroup component; update lod inspector panel;

* update review
2022-11-10 21:03:58 +08:00
jk20012001 f767a1907c add IBL diffuse lighting with baked(indirect only) and light probe (#13327) 2022-11-10 18:37:38 +08:00
李吉林 3d7beff293 support instancing for light probe (#13324) 2022-11-10 18:09:42 +08:00
BppleMan 8ab3502b4e Add decorator to light-probe-group probes getter (#13305)
* Add decorator to light-probe-group probes getter

* Update light-probe icon gizmo texture

Co-authored-by: BppleMan <bppleman@gmail.com>
2022-11-10 14:49:20 +08:00
jk20012001 051dfa20ee surface shader add uv1 with lightmap (#13291) 2022-11-09 15:27:17 +08:00
Gin 6fd0b4a756 Fix: inspector scroll behavior in asset type element (#13203)
* Fix: remove inline comment in css block

- css only supports block comment

* Improve: scrolling behavior in asset type inspector

- improve scrolling behavior of asset type in inspector(like typescript, json, etc)
- fix unexpected scrolling behavior
  - For example, Image asset properties in inspector. There is a image preview in footer. For now it won't scroll with content any more. It should be fixed to the bottom of inspector
  - other assets that uses footer in inspector
2022-11-09 11:23:32 +08:00
jk20012001 15dfbccb6c modify default pbr params, add Intrinsic functions and light type (#13265) 2022-11-08 18:15:59 +08:00
Gin 6bd1a817cd [Fix]: node layer value is incorrect after canceling changes (#13173)
- https://github.com/cocos/3d-tasks/issues/14243
2022-11-08 14:44:57 +08:00
媛媛 fa3a3b0b48 [Feature] add filpGreenChannel in image asset (#13237)
* add filpGreenChannel in image asset

* reset texture.js

* update review

* fix review
2022-11-07 17:04:44 +08:00
santy-wang a8913f5f16 Merge branch 'v3.6.2' of github.com:cocos-creator/engine into develop 2022-11-07 14:19:59 +08:00
黄森斌 7861f01ebc [Optimize] asset editing on multiple and undo (#12950)
* optimize edit asset undo

* optimize multiple-select assets editing

* optimize editing assets

* optimize assets editing

* optimize asset editing on readonly state

* asset.js contentRender panels use Promise.all

* remove material header hack action
2022-11-07 13:14:01 +08:00
李吉林 f3a3708458 Support depth test gizmo rendering (#13240) 2022-11-04 14:29:13 +08:00
SijieWang 726af0b5d7 [Feature] Optimize high-quality mode parameters (#13228)
* [Feature] Optimize high-quality mode parameters

* review code

* review code
2022-11-03 20:11:49 +08:00
changhua 392980a909 [Optimize] update lod inspector panel (#13216)
* update lod inspector panel to fix screen size and optimization panel tips

* update

* if default object size is 0,run recalculateBounds
2022-11-02 21:33:30 +08:00
墨抒颖 a3092a4bf4 [Bug] Fix all mini preview buffer alpha bug (#13143) 2022-11-02 18:29:27 +08:00
Gin ac4a090b33 [Optimize] inspector property style in material dump (#13141)
- related issue: https://github.com/cocos/3d-tasks/issues/14221
2022-11-02 18:21:28 +08:00