[osg-users] Tearing hair out over simple GLSL instancing
Andrew Cunningham
andrewC at mac.com
Thu Dec 22 09:35:44 PST 2016
On thinking about this issue, I see the problem. I really only have 4 vertices, so the value d in my vertex shader just is always pulled from locations 0-3 in my array. What I really need to do is access an array of offsets in my shader indexed by glInstanceID
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=69744#69744
More information about the osg-users
mailing list