1
0
Fork 0
This repository has been archived on 2024-01-06. You can view files and clone it, but cannot push or open issues or pull requests.
MrDev023-Cpp-Engine/res/shaders/test.frag

6 lines
No EOL
120 B
GLSL

uniform float a;
void main(void){
if(a >= 0)gl_FragColor = vec4(a,0,0,1);
else gl_FragColor = vec4(0,-a,0,1);
}