What you're seeing is normal. OpenGL ES 3.0 does not support the old
fixed-function Material feature. OSG is warning you that you are trying to
render a piece of geometry that uses this feature.

Your solution is to modify your scene to not use Material states and
instead write shaders to create the desired appearance.

On Tue, Dec 12, 2017 at 6:10 AM, Vlad Domashevich <[email protected]>
wrote:

> Hi, I build OSG for iOS with OpenGLES 3.0 support only. Now I got some
> problems:
> Warning: Material::apply(State&) - not supported.
> Warning: detected OpenGL error 'invalid operation' at after
> RenderBin::draw(..).
>
> In CMake I saw possibility for build with support OpenGLES 2.0 and 3.0
> together.
>
> Questions:
> 1. Does OSG got full support with OpenGLES 3.0?
> 2. Is build OSG with OpenGLES 3.0 enough for success? Or 2.0 or both
> versions better?
>
> Thank you!
>
> Cheers,
> Vlad
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=72571#72571
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>



-- 
Chris 'Xenon' Hanson, omo sanza lettere. [email protected]
http://www.alphapixel.com/
Training • Consulting • Contracting
3D • Scene Graphs (Open Scene Graph/OSG) • OpenGL 2 • OpenGL 3 • OpenGL 4 •
GLSL • OpenGL ES 1 • OpenGL ES 2 • OpenCL
Legal/IP • Forensics • Imaging • UAVs • GIS • GPS •
osgEarth • Terrain • Telemetry • Cryptography • LIDAR • Embedded • Mobile •
iPhone/iPad/iOS • Android
@alphapixel <https://twitter.com/alphapixel> facebook.com/alphapixel (775)
623-PIXL [7495]
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to