Commit Graph

24 Commits

Author SHA1 Message Date
jk20012001 20a2a7f06c fix shader compatible for old version (#15407) 2023-06-12 15:18:22 +08:00
jk20012001 4c2bed1c76 update shader code and i18n (#15060) 2023-05-17 16:14:42 +08:00
jk20012001 a2143ee67d add support for effect vscode plugins and fix unnormalized TN (#14813) 2023-04-19 16:06:48 +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
jk20012001 3602b4bc99 add support for transmit diffuse (#14495) 2023-03-20 17:21:02 +08:00
jk20012001 dcc09dc576 add dithered alpha clip and debug view with deferred (#14382) 2023-03-01 12:06:27 +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
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 8c37e6da7d add reflection probe for surface shader (#13349) 2022-11-14 17:39:03 +08:00
jk20012001 15dfbccb6c modify default pbr params, add Intrinsic functions and light type (#13265) 2022-11-08 18:15:59 +08:00
jk20012001 ff2ce5133f migrated remove USE_BATCHING (#12895) 2022-09-27 19:04:34 +08:00
jk20012001 27abdf8224 [fix] anisotropy rotation transform and toon shadow compatible lighting (#12609) 2022-08-30 14:57:32 +08:00
徐兵 5f07ea0294 add rotation feature for skybox (#12481) 2022-08-19 18:00:18 +08:00
jk20012001 4de4398ac8 Support anisotropy textures from Substaince Painter (#12371) 2022-08-09 17:23:52 +08:00
jk20012001 d516cde016 [fix] invalid number for debug view (#12343) 2022-08-05 11:28:43 +08:00
jk20012001 81a8656bd9 update chunk and effect meta files (#12108) 2022-07-21 10:57:49 +08:00
jk20012001 aaba13ce23 optimize and arrange shader code (#11601)
arrange and optimize shader code
2022-06-18 19:01:10 +08:00
jk20012001 3cf9aaee4e arrange chunks (#11551)
* arrange chunks

* update compiled shaders

* code style
2022-06-16 22:14:09 +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 63878dea48 fix isnan(0.0) with webgl1.0 (#11262)
* fix isinf(0.0)==true with webgl1.0

* code style
2022-05-27 21:37:55 +08:00
jk20012001 c4c95e9e59 add sky.effect with surface shader (#11156)
* add sky.effect with surface shader
surface shader code style

* get ready for chunks reorganizing

* Delete default_skybox_diffusion.png.meta

* add depth functions

* add meta
2022-05-23 15:15:17 +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