[osg-users] OpenGL ES 2.0 and LIGHTING

Grigoriy Mylnikov digitalw0lf at yandex.ru
Sun Nov 18 08:07:17 PST 2018

I tried to use osgUtil/ShaderGen. As far as I understand, it does not supports GLES2/3: it references gl_LightSource, gl_FrontLightProduct etc. in shader code, and I could not find such uniforms created. Also, it assumes only one light source.
Maybe there is some more advanced version of ShaderGen? I have seen somebody mentioned it somewhere on this forum.
Does anyone work on supporting GLES in OSG? I could try to help with this, if somebody will point me in right direction

Read this topic online here:

More information about the osg-users mailing list