Commit Graph

41 Commits

Author SHA1 Message Date
jk20012001 e70a9aaee2 fix data compatible with wrong normal tangent data (#13984) 2023-01-30 01:01:20 +08:00
Myway 8a59780e6f fix shader compilation error with new version of lightmap (#14071) 2023-01-16 11:24:27 +08:00
jk20012001 9485b4cd25 fix shadowmap lowp with huawei and reflection probe brightness (#14058) 2023-01-13 10:40:15 +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 6c9f13a4ce add vat rigid-body and water surface shader (#13864) 2022-12-21 18:28:52 +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
jk20012001 adc85a44da fix shader compilation error (#13767) 2022-12-09 11:47:48 +08:00
jk20012001 b3f55df85e support VAT soft and rigid body (#13753) 2022-12-08 19:13:36 +08:00
jk20012001 1c11dba01e add VAT support (#13723) 2022-12-07 17:38:18 +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
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 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 15dfbccb6c modify default pbr params, add Intrinsic functions and light type (#13265) 2022-11-08 18:15:59 +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
jk20012001 72219a28cf [code] move decode32 to unpack.chunk (#12823) 2022-09-22 10:27:51 +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
troublemaker52025 ac8b1f6527 [optimization] Use define to replace uniform (#12368) 2022-08-16 16:06:56 +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 a56f66b619 surface shader support render-to-reflectmap (#12223) 2022-07-27 17:33:58 +08:00
jk20012001 4a5af0811f [bug] fix IBL miplevel exceed limit (#12117) 2022-07-21 14:40:04 +08:00
jk20012001 81a8656bd9 update chunk and effect meta files (#12108) 2022-07-21 10:57:49 +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 d2ea1877b0 optimize shader compiling and fix soft5x (#11869)
* optimize shader compiling

* fix compile error

* optimize native 5x
2022-07-12 10:03:50 +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 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 2a122bfc68 builtin\internal-functions rename to builtin\functionalities (#11546) 2022-06-16 15:51:03 +08:00
jk20012001 48bd6fe0ba Fix shader compiling error (#11512)
* add native pcf for shadow-map.chunk

* update compiled shaders
2022-06-15 13:38:15 +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