diff options
| author | yum <yum.food.vr@gmail.com> | 2024-07-14 15:54:16 -0700 |
|---|---|---|
| committer | yum <yum.food.vr@gmail.com> | 2024-07-14 15:54:16 -0700 |
| commit | 2af60b243f15a4aa609176a6b0259bb4d2f1984f (patch) | |
| tree | 22d45fc72c238be4542894c1091a15dd60d6c11e /globals.cginc | |
| parent | eed8c3622c6d1ff7e54fd971bf470c70492e55bb (diff) | |
Switch to Mochie's BRDF
Better than Unity BRDF and supports things like parameterizable
half-lambertian lighting.
Diffstat (limited to 'globals.cginc')
| -rw-r--r-- | globals.cginc | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/globals.cginc b/globals.cginc index bec4b01..4aab736 100644 --- a/globals.cginc +++ b/globals.cginc @@ -22,6 +22,34 @@ float _Confabulate_Normals; float _Shadow_Strength; float _Mip_Multiplier; +float _ScatterDist; +float _ScatterPow; +float _ScatterIntensity; +float _ScatterAmbient; +float _GSAA; +float _GSAAStrength; +float _WrappingFactor; +float _Subsurface; +float _SpecularStrength; +float _FresnelStrength; +float _UseFresnel; +float _ReflectionStrength; +float3 shadowedReflections; +float3 _ReflShadows; +float3 _ReflShadowStrength; + +#if defined(SSR_ENABLED) +UNITY_DECLARE_DEPTH_TEXTURE(_CameraDepthTexture); +sampler2D _GrabTexture; +sampler2D _NoiseTexSSR; +float4 _GrabTexture_TexelSize; +float4 _NoiseTexSSR_TexelSize; +float _EdgeFade; +float _SSRStrength; +float _SSRHeight; +#endif + + #if defined(_BASECOLOR_MAP) texture2D _MainTex; float4 _MainTex_ST; |
