Sorry but it seams to me the question was answered a lot of time on the forum..
core gl context have dropped the standard fixed pipeline so in core context 
glsl you must define all your variable as old built-in (gl_XXX) have been 
removed. 
osg wraps them in osg_XXX but you may define your own vertex attribute array 
and use Program::addBindAttributeLocation to connect to your Shader
Cheers


remoe wrote:
> Julien, thanks for your hint, but i don't know what you mean :) I've look at 
> this sample:
> 
> https://github.com/openscenegraph/OpenSceneGraph/blob/master/examples/osgsimplegl3/osgsimplegl3.cpp
> 
> 
> Cheers,
> Remo


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

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





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

Reply via email to