Files
TowerDefence/My project/Library/PackageCache/com.unity.render-pipelines.universal@8a7d82525fcc/ShaderLibrary/Shadows.deprecated.hlsl
Caleb Sandford deQuincey 334021d04e Started project
2025-11-14 17:30:41 +00:00

11 lines
470 B
HLSL

#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