Rasagar/Library/PackageCache/com.unity.render-pipelines.universal/ShaderLibrary/Shadows.deprecated.hlsl

11 lines
470 B
HLSL
Raw Normal View History

2024-08-26 13:07:20 -07:00
#ifndef UNIVERSAL_SHADOWS_DEPRECATED_INCLUDED
#define UNIVERSAL_SHADOWS_DEPRECATED_INCLUDED
// 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