diff options
author | Sven Gothel <[email protected]> | 2008-08-12 15:12:59 +0000 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2008-08-12 15:12:59 +0000 |
commit | 1c3012698379bc48b4e2d631f75cb496dc5155a0 (patch) | |
tree | 60fba8f91c50f28f1274aca3995d1156cc277b88 /src/demos | |
parent | 9c9d03587d2d4ff134f400d67145213b01e83c35 (diff) |
Proper ES2 demo with precompiled shader (adding script)
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/branches/JOGL_2_SANDBOX@273 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
Diffstat (limited to 'src/demos')
-rwxr-xr-x | src/demos/es2/shader/scripts/nvidia-apx/glslc-ff.bat | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/demos/es2/shader/scripts/nvidia-apx/glslc-ff.bat b/src/demos/es2/shader/scripts/nvidia-apx/glslc-ff.bat new file mode 100755 index 0000000..94e5be9 --- /dev/null +++ b/src/demos/es2/shader/scripts/nvidia-apx/glslc-ff.bat @@ -0,0 +1,9 @@ +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=.. +: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 redsquare.vp redsquare.fp |