Hi Boon,

This topic has been discussed before. It boils down to the fact, that Materials/TexGen are fixed function pipeline features. So they are disabled with GL3.
Long story short: Materials are not support, neither is TexGen.
You will have to write your own shaders and define materials via uniforms to get the functionality back. I wrote a visitor for this which would remove the material states from the scene graph and replace them with uniforms to be sent to a shader (which has to be tailored to your needs)

cheers
Sebastian

Hi,

     I managed to compile OSG 3.2 with GL3.h header. In CMAKE, I have checked 
only OSG_GL3_AVAILABLE .

     However, when I run osgviewer.exe cow.osg, I get the following problem.
         Warning: TexGen::apply(State&) - not supported.
         Warning: Material::apply(State&) - not supported.

     I am using Intel HD4000 graphics on Windows 8, with the latest 9.x 
drivers. I have checked that all OpenGL 3.x features are supported.

     Can somebody help me explain this problem?

     Thank you!

Boon

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





_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to