Fixed positions jumping with shader zoom-out
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
#ifdef GL_ES
|
||||
precision mediump float;
|
||||
precision highp float;
|
||||
precision mediump int;
|
||||
#endif
|
||||
|
||||
@@ -77,7 +77,7 @@ void main() {
|
||||
float r = (n1 + n2) / 2.0;
|
||||
|
||||
if(r < -0.3 && r > -0.6){
|
||||
color *= 1.3;
|
||||
color *= 1.4;
|
||||
color.a = 1.0;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user