[osg-users] [build] Build OSG on iOS with support OpenGLES 3.0

Chris Hanson xenon at alphapixel.com
Tue Dec 12 08:37:52 PST 2017


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 <xerxses182 at gmail.com>
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
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>



-- 
Chris 'Xenon' Hanson, omo sanza lettere. Xenon at AlphaPixel.com
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]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20171212/35f4354e/attachment.html>


More information about the osg-users mailing list