Add Textures
This commit is contained in:
parent
78dc21fee8
commit
94a63390ef
19 changed files with 8232 additions and 29 deletions
|
@ -1,6 +1,7 @@
|
|||
uniform float a;
|
||||
#version 150
|
||||
|
||||
uniform float y;
|
||||
|
||||
void main(void){
|
||||
if(a >= 0)gl_FragColor = vec4(a,0,0,1);
|
||||
else gl_FragColor = vec4(0,-a,0,1);
|
||||
gl_FragColor= vec4(1, 1 - abs(y)/50,1 - abs(y)/50,1);
|
||||
}
|
Reference in a new issue