Commit Graph

61 Commits

Author SHA1 Message Date
jk20012001 a6b108e173 fix zeno vat blend and instancing non-uniform scaling (#15335) 2023-06-06 16:22:49 +08:00
jk20012001 4c2bed1c76 update shader code and i18n (#15060) 2023-05-17 16:14:42 +08:00
jk20012001 52ba3b6391 fix shader compilation error and restore light type (#14909) 2023-04-24 22:51:31 +08:00
minggo 4c2cb1d42e Merge pull request #14900 from minggo/merge_v3.7.3
Merge v3.7.3
2023-04-24 16:25:27 +08:00
minggo a22d16bbe6 Merge branch 'v3.7.3' into merge_v3.7.3 2023-04-24 11:26:58 +08:00
媛媛 2519d864c9 [Update] update directory meta (#14897) 2023-04-24 10:01:26 +08:00
zxx43 ef8863e512 fix gpu particle sampling issue (#14827)
* fix gpu particle sampling issue

* revert interval

* add EPSILON to uv
2023-04-18 15:01:57 +08:00
徐兵 4d35600c7b Reflection probe support blend (#14734) 2023-04-12 19:06:21 +08:00
minggo bcc581dfd7 Merge branch 'v3.7.3' into develop_merge_v3.7.3 2023-03-24 10:57:28 +08:00
jk20012001 3602b4bc99 add support for transmit diffuse (#14495) 2023-03-20 17:21:02 +08:00
santy-wang 0a81bf445e Merge branch 'develop' of github.com:cocos-creator/engine into v3.7.2 2023-03-13 16:51:47 +08:00
jk20012001 fb58926f8e optimize debug view uniform and hair shader (#14374)
* optimize debug view uniform

* optimize hair effect

* fix compilation error

* fix compilation error

* fix compilation error

* fix TRT

* remove unused import

* optimize code

* fix shader compilation error
2023-02-27 14:36:18 +08:00
Jiujiang Liu acfc04a8cf Independent effect file (#14362)
* Independent light probe tetrahedron visualization effect file

* Cannot read property 'localSetLayout' of undefined

* update shader

* revert
2023-02-24 13:52:24 +08:00
troublemaker52025 a7b090390e [Feature] add ranged directional light (#14306) 2023-02-23 17:58:47 +08:00
zhangxin cfc52cf01d [Bug] highlight selected face of gizmo (#14178)
* highlight selected face of gizmo

* update gizmo effect and add gizmo chunk

* Revert "update gizmo effect and add gizmo chunk"

This reverts commit 819b41529d583f5e7a8180087b3fdec19a69393a.

* Revert "highlight selected face of gizmo"

This reverts commit b7a208752db79a69f4b49bdc35ad654f95c8daeb.

* add highlight-selected effect
2023-02-23 16:52:45 +08:00
troublemaker52025 32286f3909 Fix csm translation judgement v3.7.2 (#14086) 2023-02-23 15:51:53 +08:00
徐兵 8409d06bca reflection probe support box projection (#14200) 2023-02-14 18:37:57 +08:00
jk20012001 7c5b89deb2 add new debug view options and runtime controll (#14083) 2023-02-02 15:09:20 +08:00
jk20012001 e70a9aaee2 fix data compatible with wrong normal tangent data (#13984) 2023-01-30 01:01:20 +08:00
Santy-Wang c82f9c2019 Merge pull request #13969 from cocos/v3.7.0
sync V3.7.0 to v3.7.1
2022-12-30 10:49:12 +08:00
jk20012001 3ade8cc160 fix debug view ignores camera with preview usage (#13860) 2022-12-20 18:59:53 +08:00
jk20012001 11e4e3b725 add refract lighting model (#13812) 2022-12-15 10:44:18 +08:00
zxx43 eb359b4667 adjust particle shader layout to avoid uniform collapsing 2022-12-13 11:12:11 +08:00
troublemaker52025 8d1ed0e1d5 [Optimize] csm transition code (#13611) 2022-12-02 17:09:26 +08:00
徐兵 93508a100d fix layout id error cause crash under vulkan (#13595) 2022-11-30 10:44:56 +08:00
troublemaker52025 050f9bdb16 add shadow layer transition for csm (#13144) 2022-11-22 18:34:08 +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
徐兵 0f8d8cd3d9 reflection probe support instancing and moving update (#13426) 2022-11-22 10:16:55 +08:00
jk20012001 a769c2914c fix compilation error (#13403) 2022-11-16 15:07:56 +08:00
jk20012001 c7862ba08c fix reflection probe shader (#13396) 2022-11-16 14:54:27 +08:00
jk20012001 8c37e6da7d add reflection probe for surface shader (#13349) 2022-11-14 17:39:03 +08:00
李吉林 3d7beff293 support instancing for light probe (#13324) 2022-11-10 18:09:42 +08:00
徐兵 120d7fe959 add reflection probe (#13155) 2022-10-27 15:36:56 +08:00
troublemaker52025 106a918adc [fix] add fractional part of cc_time.x for better precision (#13132) 2022-10-25 11:28:32 +08:00
jk20012001 35ef49868b add Transmittence and TRT for surface shader (#13127) 2022-10-24 11:38:50 +08:00
李吉林 a9d4e13f85 Light probe merge (#13093)
* add light probe
2022-10-19 22:34:21 +08:00
jk20012001 080ad42b03 [fix] shader compilation error with CC_DEVICE_SUPPORT_FLOAT_TEXTURE=0 (#13015) 2022-10-11 18:58:07 +08:00
jk20012001 ff2ce5133f migrated remove USE_BATCHING (#12895) 2022-09-27 19:04:34 +08:00
jk20012001 8b936b344c remove USE_BATCHING (#12892) 2022-09-27 19:04:12 +08:00
jk20012001 72219a28cf [code] move decode32 to unpack.chunk (#12823) 2022-09-22 10:27:51 +08:00
zxx43 f6e7963187 modify gpu particle layout (#12443) 2022-08-26 16:06:08 +08:00
徐兵 5f07ea0294 add rotation feature for skybox (#12481) 2022-08-19 18:00:18 +08:00
troublemaker52025 ac8b1f6527 [optimization] Use define to replace uniform (#12368) 2022-08-16 16:06:56 +08:00
troublemaker52025 f2cf0df089 [optimization] Shield soft_ 4X PCF sampling (#12297) 2022-08-02 19:13:03 +08:00
troublemaker52025 b84a276944 [optimization] compress csm ubo (#12111) 2022-07-21 17:50:29 +08:00
jk20012001 81a8656bd9 update chunk and effect meta files (#12108) 2022-07-21 10:57:49 +08:00
troublemaker52025 d5f77d0af1 [optimization] Split csm ubo v3.6.0 (#12072)
* split csm ubo v3.6.0

* update

* Modify *.meta  file to ignore material upgrade

* update

* update

* update 2

* use better struct padding and save memory

* update mate

* fix ci error

* memory alignment

* update

* update 2

* chenge func name

* update
2022-07-20 22:58:25 +08:00
troublemaker52025 e6b02eecec [bug] shadowMap using linear depth macro with webgl v3.6.0 (#11993) 2022-07-14 18:22:24 +08:00
troublemaker52025 fbf7704865 [update] Fix linear depth function for spot shadow v3.6.0 (#11951) 2022-07-14 15:13:34 +08:00
jk20012001 402cf1602a code style: rename spotlightingmap->spotshadowmap (#11800) 2022-07-01 16:17:52 +08:00