Nenhuma descrição
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

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