1
0
Fork 0

Update cmake

This commit is contained in:
MrDev023 2016-10-08 18:35:02 +02:00
parent 9b1b3a5c97
commit 8f9bc0da09
7 changed files with 164 additions and 34 deletions

View file

@ -1,7 +1,10 @@
#version 150
#version 330
uniform float y;
in vec4 color;
in vec3 normal;
in vec2 out_coord_texture;
uniform sampler2D myTexture;
void main(void){
gl_FragColor= vec4(1, 1 - abs(y)/50,1 - abs(y)/50,1);
}
gl_FragColor = color * texture2D(myTexture,out_coord_texture);
}