Re: CG errors in jogl-demos...
Posted by
jiapei100 on
Jun 10, 2011; 4:27pm
URL: https://forum.jogamp.org/CG-errors-in-jogl-demos-tp3027394p3049574.html
Hello, Walker:
Sorry for my stupidity. I should specify "-Djogl.cg=1"
ant -Djogl.cg=1
Wade Walker wrote
Hi Pei,
It looks like Cg can be compiled to GLSL (for OpenGL) or HLSL (for DirectX), so using GLSL it should work on ATI cards. You might be able to convert the demo to GLSL using the Cg compiler, that way it would work on either nvidia or ATI with no extra steps.