Commit Graph

61 Commits

Author SHA1 Message Date
徐兵 3503c11a8a fix vulkan crash in xiaomi 6 (#15188) 2023-05-31 11:39:51 +08:00
jk20012001 c1b82a7097 add unlit lighting model for surface shader (#15131) 2023-05-23 15:11:42 +08:00
jk20012001 4c2bed1c76 update shader code and i18n (#15060) 2023-05-17 16:14:42 +08:00
徐兵 96e328eecb fix shader compiling error (#15026) 2023-05-12 09:58:36 +08:00
troublemaker52025 20f80926b1 add Separable-SSS skin (#14948) 2023-05-11 18:24:45 +08:00
troublemaker52025 64e4289ce9 Add planar-shadow pass to the built-in effects for enable instancing (#14958) 2023-05-08 11:16:34 +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
jk20012001 b72c6d2215 fix iphone wechat toon surface shader NaN data (#14878) 2023-04-21 15:51:14 +08:00
jk20012001 9bb895ef28 update comment for vscode plugins (#14867) 2023-04-20 11:46:01 +08:00
jk20012001 a2143ee67d add support for effect vscode plugins and fix unnormalized TN (#14813) 2023-04-19 16:06:48 +08:00
jk20012001 fb50a91e8b add support for hdr float pipeline, fix toon material (#14766) 2023-04-14 18:59:29 +08:00
徐兵 4d35600c7b Reflection probe support blend (#14734) 2023-04-12 19:06:21 +08:00
jk20012001 db5ed8653d add common lighting model for TRT Wet Dual-Lobe and fix some basic functions (#14675) 2023-04-10 16:27:16 +08:00
jk20012001 3602b4bc99 add support for transmit diffuse (#14495) 2023-03-20 17:21:02 +08:00
jk20012001 1f49414afd add hair tranparency pass and tooltip (#14445) 2023-03-02 16:55:28 +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
jk20012001 8e7d92cbae add hair lighting model and effect (#14331)
* fix skybox rotation with diffusemap
* fix environment lighting negative value
* add transfer clip pos
2023-02-24 18:56:31 +08:00
徐兵 8409d06bca reflection probe support box projection (#14200) 2023-02-14 18:37:57 +08:00
jk20012001 59fa406b9c add user mofidified lighting for add pass (#14191)
prepare for skin 4s and cluster shading
2023-02-09 17:57:17 +08:00
jk20012001 7c5b89deb2 add new debug view options and runtime controll (#14083) 2023-02-02 15:09:20 +08:00
jk20012001 11e4e3b725 add refract lighting model (#13812) 2022-12-15 10:44:18 +08:00
jk20012001 adc85a44da fix shader compilation error (#13767) 2022-12-09 11:47:48 +08:00
jk20012001 76ef89ae2d add modify local tangent for surface shader (#13725) 2022-12-07 19:11:07 +08:00
jk20012001 1d410b7e51 add fresnel & transmit specular (#13689) 2022-12-06 18:03:53 +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 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
jk20012001 8c37e6da7d add reflection probe for surface shader (#13349) 2022-11-14 17:39:03 +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
jk20012001 051dfa20ee surface shader add uv1 with lightmap (#13291) 2022-11-09 15:27:17 +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
徐兵 120d7fe959 add reflection probe (#13155) 2022-10-27 15:36:56 +08:00
jk20012001 35ef49868b add Transmittence and TRT for surface shader (#13127) 2022-10-24 11:38:50 +08:00
troublemaker52025 7f9b27da94 [Bug] fix v_tangent.w in vulkan error (#13039) 2022-10-13 17:53:26 +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
徐兵 df68547421 add terrain surface shader (#12764) 2022-09-14 17:57:51 +08:00
jk20012001 27abdf8224 [fix] anisotropy rotation transform and toon shadow compatible lighting (#12609) 2022-08-30 14:57:32 +08:00
jk20012001 26a06d5058 [fix] anisotropy rotation seam line, optimize macros in standard.effect (#12529) 2022-08-24 11:58:38 +08:00
jk20012001 e35124906f support specified anisotropy direction for silk material (#12376) 2022-08-09 18:01:17 +08:00
jk20012001 854199e321 [fix] debug view display error with mac, lightmap use correct exposure (#12364) 2022-08-09 14:57:42 +08:00
jk20012001 d516cde016 [fix] invalid number for debug view (#12343) 2022-08-05 11:28:43 +08:00
jk20012001 498e88def9 [fix] baked object can't receive dynamic shadow (#12194) 2022-07-26 15:49:44 +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