mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-20 11:35:54 +00:00
Update nightvision2.glsl
This commit is contained in:
parent
753a937289
commit
1fe8d1ae16
1 changed files with 5 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue