mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Merge branch 'terrain-frag-hotfix' into 'master'
Put ice_reflections under REFLECTION_MODE_HIGH See merge request veloren/veloren!4177
This commit is contained in:
commit
2703f4031d
@ -309,11 +309,13 @@ void main() {
|
||||
}
|
||||
#endif
|
||||
|
||||
#if (REFLECTION_MODE >= REFLECTION_MODE_HIGH)
|
||||
// Reflections on ice
|
||||
if (f_kind == BLOCK_ICE && f_norm.z == 1.0) {
|
||||
f_alpha = min(f_alpha, 0.3);
|
||||
k_s = mix(k_s, vec3(0.7, 0.7, 1.0), 0.5);
|
||||
}
|
||||
#endif
|
||||
|
||||
// float sun_light = get_sun_brightness(sun_dir);
|
||||
// float moon_light = get_moon_brightness(moon_dir);
|
||||
|
Loading…
Reference in New Issue
Block a user