OpenMW
|
Public Member Functions | |
virtual void | operator() (osg::Node *node, osg::NodeVisitor *nv) |
Moves water mesh away from the camera slightly if the camera gets too close on the Z axis. The offset works around graphics artifacts that occurred with the GL_DEPTH_CLAMP when the camera gets extremely close to the mesh (seen on NVIDIA at least). Must be added as a Cull callback.
|
inlinevirtual |