Divergent/mods/Screen Space Shaders/gamedata/shaders/r3/settings_screenspace_SSR.h

13 lines
903 B
C
Raw Normal View History

2024-03-17 20:18:03 -04:00
// [ SETTINGS ] [ SCREEN SPACE REFLECTIONS ]
#define G_SSR_VERTICAL_SCREENFADE 4.0f // Vertical fade. ( higher values = sharp gradient )
#define G_SSR_MAX_INTENSITY 1.0f // Global reflection MAX intensity.
#define G_SSR_FLORA_INTENSITY 0.2f // Adjust grass and tree branches intensity
#define G_SSR_WEAPON_MAX_LENGTH 1.3f // Maximum distance to apply G_SSR_WEAPON_INTENSITY.
#define G_SSR_WEAPON_RAIN_FACTOR 0.2f // Weapons reflections boost when raining ( 0 to disable ) ( Affected by rain intensity )
//#define G_SSR_BEEFS_NVGs_ADJUSTMENT 0.5f // Uncomment to adjust the reflection intensity when 'Beefs Shader Based NVGs' are in use. ( Use only if Beefs NVGs addon is installed )
//#define G_SSR_WEAPON_REFLECT_ONLY_WITH_RAIN // Uncomment this if you don't want weapon reflections unless is raining
//#define G_SSR_CHEAP_SKYBOX // Use a faster skybox to improve some performance.