mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 21:37:52 -07:00
Update nightvision2scanlines.glsl
This commit is contained in:
parent
1fe8d1ae16
commit
d8fe09e9b1
@ -60,10 +60,12 @@ 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;
|
||||
|
Loading…
Reference in New Issue
Block a user