diff --git a/Data/Sys/Shaders/nightvision2.glsl b/Data/Sys/Shaders/nightvision2.glsl index 82bb72ffde..3f5910c46b 100644 --- a/Data/Sys/Shaders/nightvision2.glsl +++ b/Data/Sys/Shaders/nightvision2.glsl @@ -50,10 +50,13 @@ void main() // neccessary to make the darkened area rounded // instead of rhombus-shaped. float sqrt = x / 10.0; - while((sqrt*sqrt) < x) sqrt+=0.1; + + while ((sqrt*sqrt) < x) + sqrt+=0.1; x = sqrt; sqrt = y / 10.0; - while((sqrt*sqrt) < y) sqrt+=0.1; + while ((sqrt*sqrt) < y) + sqrt+=0.1; y = sqrt; x *= 2.0;