core gl 3 have deprecated lot of stuff (including fixed pipeline lighting and 
material) . Some basic fixed features have been emulated because there are 
kinda required to render (fixed pipeline matrices), but lighting didn't.
You can contribute on that (follow State::useModelViewAndProjectionUniforms to 
see how deprecated matrices have been emulated)

PS:glLineWidth requires GL_LINE_SMOOTH to be enable...
cheers


Hugal31 wrote:
> Hi,
> 
> I use OpenSceneGraph and I want to use some features of OpenGL 3.3 and the 
> Core profile. I compiled OpenSceneGraph with the option -DOPENGL_PROFILE=GL3. 
> I got the features I wanted, however, some features of OSG do not work 
> anymore, as lighting with osg::Light, osg::LineWidth, osg::LineStipple on so 
> on.
> 
> I know OSG is mainly built uppon GL2 features, and that Fixed Function 
> Pipeline is not available in core profile, but I expected for "basic" 
> features as light or lines to work.
> 
> It the support of those features in Core profile is planned? Or do I have to 
> implement shaders myself? Or are there any existing implementation?
> 
> 
> Thank you for your time,
> Hugo


------------------------
Twirling twirling twirling toward freedom

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





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to