[osg-users] Clipping when using a shader

OpenSceneGraph Users osg-users at lists.openscenegraph.org
Thu Apr 30 09:18:57 PDT 2020


Hi,
I am using a simple displacement vertex shader to animate a displacement 
field on a geometry.

I am having an issue where during the animation the geometry is getting 
clipped by the near/far planes that are automatically maintained by OSG - 
obviously OSG knows nothing about the displacements of the shader.

Any suggestions as to solve this issue in the most simple manner. I would 
like to avoid having to maintain my own near/far planes. I was hoping OSG 
had a user-definable "fudge" factor for near/far...

Andrew


-- 
You received this message because you are subscribed to the Google Groups "OpenSceneGraph Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to osg-users+unsubscribe at googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/osg-users/7a43edba-7e8d-4f0c-bcb4-0da8dedc56e3%40googlegroups.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20200430/073ccc84/attachment.html>


More information about the osg-users mailing list