Initial commit

This commit is contained in:
Jonas Kulla 2013-09-01 16:27:21 +02:00
commit ff25887f41
119 changed files with 24901 additions and 0 deletions

13
shader/transSimple.frag Normal file
View file

@ -0,0 +1,13 @@
uniform sampler2D frozenScene;
uniform sampler2D currentScene;
uniform float prog;
void main()
{
vec2 texCoor = gl_TexCoord[0].st;
vec4 newPixel = texture2D(currentScene, texCoor);
vec4 oldPixel = texture2D(frozenScene, texCoor);
gl_FragColor = mix(oldPixel, newPixel, prog);
}