working on camera into of

This commit is contained in:
langolierz
2018-10-01 04:23:37 +00:00
parent 8ca21cc2b4
commit ea58f44755
9 changed files with 60 additions and 112 deletions

View File

@@ -0,0 +1,11 @@
varying vec2 texcoord0;
uniform sampler2D tex0;
uniform vec2 u_resolution;
uniform float u_time;
void main() {
vec4 texColour = texture2D(tex0, texcoord0);
gl_FragColor = vec4(1.0-texColour.r,1.0-texColour.g,1.0-texColour.b,texColour.a);
}