summaryrefslogtreecommitdiffstats
path: root/src/demos/es2/shader/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'src/demos/es2/shader/scripts')
-rwxr-xr-xsrc/demos/es2/shader/scripts/nvidia-apx/glslc-ff.bat9
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..024e469
--- /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=..\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 redsquare.vp redsquare.fp