[osg-users] MacOSX/Core Profile: Attribute aliasing behavior ?
Julien Valentin
julienvalentin51 at gmail.com
Tue Jul 31 20:58:44 PDT 2018
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
More information about the osg-users
mailing list