Login  Register

Re: Big trouble with ceating mipmaps automatically

Posted by gouessej on Sep 09, 2014; 2:45pm
URL: https://forum.jogamp.org/Big-trouble-with-ceating-mipmaps-automatically-tp4033083p4033101.html

There is probably something wrong in your code, glGenerateMipmap is used in JMonkeyEngine, it works correctly but you pass null to glTexImage3D, look at your last parameter.

Edit.: Maybe you're right:
http://stackoverflow.com/questions/25138320/glgeneratemipmap-doesnt-work-with-3d-textures-in-opengl
Julien Gouesse | Personal blog | Website