Commit Graph

40 Commits

Author SHA1 Message Date
jk20012001 c1b82a7097 add unlit lighting model for surface shader (#15131) 2023-05-23 15:11:42 +08:00
minggo a22d16bbe6 Merge branch 'v3.7.3' into merge_v3.7.3 2023-04-24 11:26:58 +08:00
jk20012001 b72c6d2215 fix iphone wechat toon surface shader NaN data (#14878) 2023-04-21 15:51:14 +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 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
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
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 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 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
jk20012001 f9db1777a2 [optimize] avoid calculate dir lighting and shadows with lightmap (#12027) 2022-07-18 11:40:20 +08:00
jk20012001 32c99d1ca3 debug view use significant color for invalid data, and gamma correction read (#11917)
* debug view use significant color for invalid data, fix gamma correction read & write

* fix macros

* fix macros
2022-07-11 17:50:45 +08:00
jk20012001 3cf9aaee4e arrange chunks (#11551)
* arrange chunks

* update compiled shaders

* code style
2022-06-16 22:14:09 +08:00
jk20012001 2a122bfc68 builtin\internal-functions rename to builtin\functionalities (#11546) 2022-06-16 15:51:03 +08:00
jk20012001 9965af4abb add debug view mode (#11449)
* add debug view mode

* code style

* fix single mode lighting lack of gamma & tonemapping

* comment style

* move from legacyCC to render-pipeline

* fix gamma & tonemapping not matched in debug view modes

* 原生实现

* move to root

* fix CSMLayers

* pack ubo data

* fix binding

* update binding

* update shaders for debug view

* code style

* fix CI
fix fog in composite mode

* resolve conversation

* resolve conversations

* function order

* resolve conversations
2022-06-14 00:13:27 +08:00
jk20012001 a83ad12022 fix surface shader runtime macros don't match attribute and uniform define (#11319)
* fix surface shader runtime macro doesn't match
fix surface shader include

* fix compiling error

* fix varying location missing

* fix vk fs shadowbias binding error

* fix vk fs shadowbias binding error

* fix vulkan binding flag not match

* revert binding flags

* fix vulkan error, remove CCLocal from PS
2022-06-06 15:14:32 +08:00
jk20012001 0ecaa8db51 add surface shader (#11048)
* add surface shader

* remove unused item

* arrange main-functions

* arrange main-functions

* fix compatible lighting mode
2022-05-13 21:18:22 +08:00