Unity-NorthStar / data /Packages /com.unity.render-pipelines.universal /Shaders /Nature /SpeedTree7CommonInput.hlsl
| uniform half _WindQuality; | |
| TEXTURE2D(_MainTex); | |
| SAMPLER(sampler_MainTex); | |
| float4 _MainTex_TexelSize; | |
| half4 _HueVariation; | |
| half4 _Color; | |
| // Shadow Casting Light geometric parameters. These variables are used when applying the shadow Normal Bias and are set by UnityEngine.Rendering.Universal.ShadowUtils.SetupShadowCasterConstantBuffer in com.unity.render-pipelines.universal/Runtime/ShadowUtils.cs | |
| // For Directional lights, _LightDirection is used when applying shadow Normal Bias. | |
| // For Spot lights and Point lights, _LightPosition is used to compute the actual light direction because it is different at each shadow caster geometry vertex. | |
| float3 _LightDirection; | |
| float3 _LightPosition; | |
| UNITY_TEXTURE_STREAMING_DEBUG_VARS; | |