7 lines
No EOL
108 B
GLSL
7 lines
No EOL
108 B
GLSL
#version 150
|
|
|
|
uniform float y;
|
|
|
|
void main(void){
|
|
gl_FragColor= vec4(1, 1 - abs(y)/50,1 - abs(y)/50,1);
|
|
} |