Files
PrinceOfGlory/Packages/Custom/com.unity.render-pipelines.universal@14.0.9/ShaderLibrary/Shadows.deprecated.hlsl
kridoo 6e91a0c7f0 111
2025-09-15 17:32:08 +08:00

12 lines
490 B
HLSL

#ifndef UNIVERSAL_SHADOWS_DEPRECATED_INCLUDED
#define UNIVERSAL_SHADOWS_DEPRECATED_INCLUDED
// Remove in 2024.x
// Deprecated: Reduce the number of unique samplers by using inline samplers instead.
// Some graphics APIs support only a low number of unique active samplers.
#define sampler_ScreenSpaceShadowmapTexture sampler_PointClamp
#define sampler_MainLightShadowmapTexture sampler_LinearClampCompare
#define sampler_AdditionalLightsShadowmapTexture sampler_LinearClampCompare
#endif