Unity Web Shader IDE
Full source <URP>/ShaderLibrary/Shadows.deprecated.hlsl HLSL 11 lines 4 symbols 0 includes Hide source Show source
Shadows.deprecated.hlsl <URP>/ShaderLibrary/Shadows.deprecated.hlsl
Language
HLSL
Lines
11
Symbols
4
Includes
0
Open IDE root

<URP>/ShaderLibrary/Shadows.deprecated.hlsl full source

#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