[osg-users] using modern shaders with osg - setting vertex attribute layout
antiro black
antiro42 at gmail.com
Fri Sep 1 07:10:32 PDT 2017
Hi Sebastian,
I'm using the latest stable version from git (which is indeed 3.4.something).
I applied it to the camera of the viewer. Should I have also changed the state of the camera's which are used to render to the textures (they are part of the scenegraph of the viewer)?
After trying every imaginable change the shaders I've started to suspect that that there is something wrong with (my usage of) the EffectCompositor recipe from the OSG Cookbook, which I'm using to load the shaders and compile the shader program. Hence I'm now changing the code to create the osg::Program and load the osg::Shaders manually.
Thank you!
Cheers,
antiro
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=71591#71591
More information about the osg-users
mailing list