Re: Other Shader lib?
Posted by Worker on May 18, 2011; 7:56pm
URL: https://forum.jogamp.org/Other-Shader-lib-tp2945189p2958362.html
Hi Sven
A problem is, when ShaderCode.create(.....) must read from an
Url, classpath or jar, then its file reading capacity comes at his end.
E.g. when the souces are in a jar with an applet.
I think a read with a such code sequence
'MyClass.class.getResource(filename).openStream()'
is a better solution, instead a file read, that results then in an
acces denied exeption when the applet is not signed.