Commit Graph

63 Commits

Author SHA1 Message Date
jk20012001 c1b82a7097 add unlit lighting model for surface shader (#15131) 2023-05-23 15:11:42 +08:00
troublemaker52025 20f80926b1 add Separable-SSS skin (#14948) 2023-05-11 18:24:45 +08:00
徐兵 e83b2dd56f fix the baked cubemap of reflection probe appears too dark (#14795) 2023-04-25 10:29:22 +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
jk20012001 448cbfc72c resolve conflict 2023-04-24 12:02:23 +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 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 f1c573cea9 fix baked ao with static light, add ue4 shader graph expression (#14656) 2023-03-26 20:27:35 +08:00
minggo 6b4dca4995 merge common-flow.chunk correctly 2023-03-24 11:49:04 +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
troublemaker52025 056fda3e6a [Bug] fix deferred pipeline dir-light effect error (#14407) 2023-02-28 17:56:43 +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
troublemaker52025 a7b090390e [Feature] add ranged directional light (#14306) 2023-02-23 17:58:47 +08:00
troublemaker52025 682f0a25cd [Feature] add point light (#14220) 2023-02-22 10:12:21 +08:00
troublemaker52025 03891fe9d8 fix usm shadow and remove if uniform for performance (#14248) 2023-02-15 18:53:30 +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 47f37a9efe fix compilation error for include attenuation.chunk in standard-shading-base (#14154) 2023-02-07 11:22:50 +08:00
troublemaker52025 03fe6aca9a add dir-light visibility and support baked light (#14087) 2023-02-03 15:46:14 +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 11e4e3b725 add refract lighting model (#13812) 2022-12-15 10:44:18 +08:00
jk20012001 a247622cbd fix planar reflection probe rgbe decoding with surface shader (#13822) 2022-12-15 10:32:26 +08:00
jk20012001 adc85a44da fix shader compilation error (#13767) 2022-12-09 11:47:48 +08:00
jk20012001 5bf5fe84e4 remove unnecessary IBL calculations (#13700) 2022-12-07 10:47:22 +08:00
jk20012001 1d410b7e51 add fresnel & transmit specular (#13689) 2022-12-06 18:03:53 +08:00
jk20012001 876bab1d92 add exr texture support and user-defined surface functions for lighti… (#13619) 2022-12-01 17:35:22 +08:00
troublemaker52025 435d1225ce fix step func comparison error while toon specular.a = 0 (#13573) 2022-11-28 11:28:31 +08:00
jk20012001 39cf36d243 fix real time shadow with baked objects (#13560) 2022-11-25 15:16:21 +08:00
jk20012001 e0bbb16c3a highp precision for surface shader worldpos (#13512) 2022-11-23 19:09:01 +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 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 ff2ce5133f migrated remove USE_BATCHING (#12895) 2022-09-27 19:04:34 +08:00
troublemaker52025 ac8b1f6527 [optimization] Use define to replace uniform (#12368) 2022-08-16 16:06:56 +08:00