[osg-users] MacOSX/Core Profile: Attribute aliasing behavior ?

Julien Valentin julienvalentin51 at gmail.com
Tue Jul 31 14:41:53 PDT 2018


With core profile you must use strict syntax...
see simpleGL3 example



remoe wrote:
> Hi folks,
> 
> Can someone please explain me why OpenGL on MacOSX (Core Profile 4.1) throw the following error:
> 
> 
> Code:
> ERROR: Active attribute aliasing. Slot 3 unavailable for 'osg_MultiTexCoord0' from BindAttributeLocation request.
> 
> 
> 
> on the following sample:
> 
> https://github.com/remoe/osgsample-2
> 
> When one remove the default shader from OSG:
> 
> https://github.com/remoe/osgsample-2/blob/master/main.cpp#L205
> 
> with "#if 0", Then it doesn't throw an error on MacOSX.
> 
> This sample doesn't throw an error on windows.
> 
> Thank you!
> 
> Cheers,
> Remo


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

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







More information about the osg-users mailing list