Login  Register

Re: Texturing problem

Posted by Demoscene Passivist on Jul 29, 2010; 11:24pm
URL: https://forum.jogamp.org/Texturing-problem-tp1004712p1005065.html

Try using the InputStream method instead of the URL method ... like this:

Texture tTexture = TextureIO.newTexture(new BufferedInputStream((new Object()).getClass().getResourceAsStream(inFileName)),true,null);

... at least that works for me.