[osg-users] glsl version 130 not supported (and related problems)

Bruno Oliveira bruno.manata.oliveira at gmail.com
Sat Oct 22 11:22:48 PDT 2016


I am using a fragment shader that requires #version 130
I use OSG 3.5.5 and Qt 5.7 on MacOS 10.12

This results in a shader compilation error, 'version 130 not supported'

I tried compiling OSG with GL3 enabled, but the error persists. Then I
tried to activate a Core Profile globally in Qt using QFurfaceFormat (just
ensures that a 3.3. Core profile is set globally for all widgets): but
after I do this and start using a Core profile, I get tons of errors from
OSG pipeline and can't render anything at all.

What should I do here?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20161022/56f87b05/attachment-0001.htm>

More information about the osg-users mailing list