diff options
Diffstat (limited to 'src/demos/es2/openmax/shader')
-rwxr-xr-x | src/demos/es2/openmax/shader/bin/nvidia/moviesimple.bfp | bin | 684 -> 0 bytes | |||
-rwxr-xr-x | src/demos/es2/openmax/shader/bin/nvidia/moviesimple.bvp | bin | 940 -> 0 bytes | |||
-rw-r--r-- | src/demos/es2/openmax/shader/moviesimple.fp | 21 | ||||
-rw-r--r-- | src/demos/es2/openmax/shader/moviesimple.vp | 22 | ||||
-rwxr-xr-x | src/demos/es2/openmax/shader/scripts/nvidia-apx/glslc-ff.bat | 9 |
5 files changed, 0 insertions, 52 deletions
diff --git a/src/demos/es2/openmax/shader/bin/nvidia/moviesimple.bfp b/src/demos/es2/openmax/shader/bin/nvidia/moviesimple.bfp Binary files differdeleted file mode 100755 index 97a6980..0000000 --- a/src/demos/es2/openmax/shader/bin/nvidia/moviesimple.bfp +++ /dev/null diff --git a/src/demos/es2/openmax/shader/bin/nvidia/moviesimple.bvp b/src/demos/es2/openmax/shader/bin/nvidia/moviesimple.bvp Binary files differdeleted file mode 100755 index 2ca3dff..0000000 --- a/src/demos/es2/openmax/shader/bin/nvidia/moviesimple.bvp +++ /dev/null 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); -} - diff --git a/src/demos/es2/openmax/shader/moviesimple.vp b/src/demos/es2/openmax/shader/moviesimple.vp deleted file mode 100644 index 0b78eb9..0000000 --- a/src/demos/es2/openmax/shader/moviesimple.vp +++ /dev/null @@ -1,22 +0,0 @@ - -#ifdef GL_ES - #define MEDIUMP mediump - #define HIGHP highp -#else - #define MEDIUMP - #define HIGHP -#endif - -uniform MEDIUMP mat4 mgl_PMVMatrix[2]; -attribute HIGHP vec4 mgl_Vertex; -attribute HIGHP vec4 mgl_Color; -attribute HIGHP vec4 mgl_MultiTexCoord; -varying HIGHP vec4 frontColor; -varying HIGHP vec4 mgl_texCoord; - -void main(void) -{ - frontColor=mgl_Color; - mgl_texCoord = mgl_MultiTexCoord; - gl_Position = mgl_PMVMatrix[0] * mgl_PMVMatrix[1] * mgl_Vertex; -} diff --git a/src/demos/es2/openmax/shader/scripts/nvidia-apx/glslc-ff.bat b/src/demos/es2/openmax/shader/scripts/nvidia-apx/glslc-ff.bat deleted file mode 100755 index a93f43c..0000000 --- a/src/demos/es2/openmax/shader/scripts/nvidia-apx/glslc-ff.bat +++ /dev/null @@ -1,9 +0,0 @@ -REM -REM You have to call it from the 'shader' directory, e.g.: -REM scripts\nvidia-apx\glslc-ff.bat -REM -IF !"%JOGLDIR%"==""! GOTO YESPATH -set JOGLDIR=..\lib -:YESPATH - -java -cp %JOGLDIR%\jogl.core.jar;%JOGLDIR%\jogl.gles2.jar;%JOGLDIR%\jogl.fixed.jar;%JOGLDIR%\jogl.sdk.jar javax.media.opengl.sdk.glsl.CompileShaderNVidia moviesimple.vp moviesimple.fp |