[osg-users] osglight demo problems with Intel graphics on Windows

Ryan Thoryk ryan at thoryk.com
Mon Jul 9 13:52:15 PDT 2018


I recently started a project based on the osglight demo.  I have a laptop with switchable graphics, and under Linux the demo works great under both Intel and Nvidia graphics.  Under Windows 10 however, lighting doesn't appear to work with the Intel driver, even though it works fine in Linux (bad drivers?).  The console also outputs this:


> 
> Screen 0:
> Vendor: Intel
> Renderer: Intel(R) HD Graphics 3000
> GL Version: 3.1.0 - Build 9.17.10.4459
> Warning: detected OpenGL error 'invalid enumerant' at After Renderer::compile
> 

which implies that the app is using shaders.  I thought that the OSG lights used the FFP OpenGL lights and not shaders.

I'm attaching a screenshot of the project.

Ryan

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




Attachments: 
http://forum.openscenegraph.org//files/lightmod_173.png




More information about the osg-users mailing list