Hi Robert,

I was getting a black image when enabling hardware mipmap generation on
cubemaps. I believe the problem is that the base Texture class is hard
coding GL_TEXTURE_2D when enabling mipmap generation, instead of using the
target type from the derived class. I've attached the small change that
fixed the issue for me.

Cheers,
Farshid

<<attachment: Texture.zip>>

_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to