Нет описания
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

Shadows.deprecated.hlsl 470B

12345678910
  1. #ifndef UNIVERSAL_SHADOWS_DEPRECATED_INCLUDED
  2. #define UNIVERSAL_SHADOWS_DEPRECATED_INCLUDED
  3. // Deprecated: Reduce the number of unique samplers by using inline samplers instead.
  4. // Some graphics APIs support only a low number of unique active samplers.
  5. #define sampler_ScreenSpaceShadowmapTexture sampler_PointClamp
  6. #define sampler_MainLightShadowmapTexture sampler_LinearClampCompare
  7. #define sampler_AdditionalLightsShadowmapTexture sampler_LinearClampCompare
  8. #endif