InTerra_URP_DefinedGlobalKeywords.hlsl 992 B

123456789101112131415161718192021222324252627282930
  1. //NOTE: This file should not be rewritten manually, you can change the defined keywords via MASK MAP MODE setting and GLOBAL SHADER RESTRICTIONS setting!
  2. #define _TERRAIN_MASK_MAPS
  3. #undef _TERRAIN_NORMAL_IN_MASK
  4. #undef _TERRAIN_MASK_HEIGHTMAP_ONLY
  5. #define _NORMALMAPS
  6. #define _TERRAIN_BLEND_HEIGHT
  7. #define _TERRAIN_PARALLAX
  8. #define _TRACKS
  9. #ifdef INTERRA_OBJECT
  10. #define _OBJECT_PARALLAX
  11. #endif
  12. #define _PUDDLES
  13. #if defined(_TERRAIN_MASK_MAPS) || defined(_TERRAIN_NORMAL_IN_MASK) || defined(_TERRAIN_MASK_HEIGHTMAP_ONLY)
  14. #define TERRAIN_MASK
  15. #else
  16. #undef _TERRAIN_BLEND_HEIGHT
  17. #undef _TERRAIN_PARALLAX
  18. #undef _OBJECT_PARALLAX
  19. #endif
  20. #if (defined(_TERRAIN_TRIPLANAR) || defined(_OBJECT_TRIPLANAR) || defined(_TERRAIN_TRIPLANAR_ONE) || defined(_TRIPLANAR_ONE) || defined(_TRIPLANAR_ALL) ) && !defined(_TERRAIN_BASEMAP_GEN)
  21. #define TRIPLANAR
  22. #endif
  23. #if defined(_TERRAIN_PARALLAX) || defined(_OBJECT_PARALLAX)
  24. #define PARALLAX
  25. #endif