[osg-users] OSG-GLSL triangle adjacency

Nabil KHALIFA nabil.bhk at gmail.com
Thu Jul 20 07:42:50 PDT 2017


Hello,
I'm using geometry shader with OSG to do some operations on mesh using GPU.
When i use *triangles_adjacency*  in the input layout, my shader crashes.
I tried with *layout(triangles) in*  and it's running well.

Is there any configuration in OSG that i should use, or a pre-processing on
the mesh to understand triangle adjacency?

Regards,
Nabil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20170720/38538f00/attachment.htm>


More information about the osg-users mailing list