clean up automapaper shaders
This commit is contained in:
parent
8c8a31cca0
commit
8f96e80248
2 changed files with 2 additions and 2 deletions
|
|
@ -16,7 +16,7 @@ void main( void ) {
|
||||||
|
|
||||||
vec2 position = gl_FragCoord.xy;
|
vec2 position = gl_FragCoord.xy;
|
||||||
float color = gold_noise(position.xy, fract(time));
|
float color = gold_noise(position.xy, fract(time));
|
||||||
|
|
||||||
|
|
||||||
stateColor = vec4(step(0.3, color), 0,0,step(0.3, color));
|
stateColor = vec4(step(0.3, color), 0,0,step(0.3, color));
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -28,7 +28,7 @@ void main() {
|
||||||
if (current.r == 0.0) {
|
if (current.r == 0.0) {
|
||||||
stateColor.g = max(current.g - 0.01, 0.0);
|
stateColor.g = max(current.g - 0.01, 0.0);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
stateColor = vec4(0.0, max(current.g - 0.01, 0.0), 0.0, 1.0);
|
stateColor = vec4(0.0, max(current.g - 0.01, 0.0), 0.0, 1.0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue