diff options
author | Sven Gothel <[email protected]> | 2012-04-09 22:11:51 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2012-04-09 22:11:51 +0200 |
commit | 7278e62941a81d374eb2d38aa69ab8fe69ab2a1f (patch) | |
tree | 0d39ad65e4a5b575d000e3942f6b9c06c923238d /src/demos/es2/openmax/shader/moviesimple.fp | |
parent | 5f23b0ca30316804c5065366c631c8290af4c29f (diff) |
Removed obsolete openmax demos. JOGL has demo/test code for GLMediaPlayer
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); -} - |