Hi, Im trying to program a game to track objects with effects like in night Vision and such and Im using shaders with tint and noise programs to create the effect of night vision.
With no shaders on, I could track my tank perfectly. However, With shaders on, the hit result is off by quite a bit. The way I compute intersect is by querying the terrain position with which I could get my tank locations. The terrain and the shader both attach to the viewer directly. The nodeMask for both terrain and the shader is different. ComputeIntersection is calculated based on the mouse positioning. Setting a different mask for the tank does not give me back useful tank result. ANy hints onto what I could have done wronly? Thank you! Cheers, Hong Zhenyang ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=44683#44683 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

