diff options
Diffstat (limited to 'src/demos/es2/openmax/shader/moviesimple.fp')
-rw-r--r-- | src/demos/es2/openmax/shader/moviesimple.fp | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/src/demos/es2/openmax/shader/moviesimple.fp b/src/demos/es2/openmax/shader/moviesimple.fp deleted file mode 100644 index c711641..0000000 --- a/src/demos/es2/openmax/shader/moviesimple.fp +++ /dev/null @@ -1,21 +0,0 @@ - -#ifdef GL_ES - #define MEDIUMP mediump - #define HIGHP highp -#else - #define MEDIUMP - #define HIGHP -#endif - -uniform sampler2D mgl_ActiveTexture; -varying HIGHP vec4 mgl_texCoord; -varying HIGHP vec4 frontColor; - -void main (void) -{ - vec4 texColor = texture2D(mgl_ActiveTexture, mgl_texCoord.st); - - // mix frontColor with texture .. - gl_FragColor = vec4(frontColor.rgb*texColor.rgb, frontColor.a); -} - |