Hi,

Has anyone gotten Texture2DArrays working on OpenGL ES 3.0?

My code applies them on Windows 
(OpenGL 4.3) just fine. I also modified the check 

_isTexture2DArraySupported = OSG_GL3_FEATURES || 
isGLExtensionSupported(contextID,"GL_EXT_texture_array") ||
            strncmp((const char*)glGetString(GL_VERSION),"3.0",3)>=0;

So that bool _isTexture2DArraySupported is set to true. Debugging on Android 
4.4.4 (Nexus 4) didn't yield much help as it's dead slow even with Eclipse Luna.

In the debugger I do see that the necessary flags _isTexture2DArraySupported 
and _isTexture3DSupported are both set to true and _maxLayerCount is 256. All 
the relevant GL extension func ptrs are also non-zero.

I used setTextureAttribute instead of setTextureAttributeAndModes.

What I see is that the textured objects are invisible. Any ideas?

Thank you!

Cheers,
Anish

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=61345#61345





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

Reply via email to