> > Chris Hanson wrote: > > I don't remember how VPB handles this anymore. I know I've done it > though. > > I recall what I did -- I actually used a crazy rendering trick to avoid the need for holes in the terrain.
I believe you could mark the hole areas in your drape image with a special color and then have a custom shader that discarded fragments when that color was detected. If that won't work, there's probably other ideas I could consult with you on. -- Chris 'Xenon' Hanson, omo sanza lettere. xe...@alphapixel.com http://www.alphapixel.com/ Training • Consulting • Contracting 3D • Scene Graphs (Open Scene Graph/OSG) • OpenGL 2 • OpenGL 3 • OpenGL 4 • GLSL • OpenGL ES 1 • OpenGL ES 2 • OpenCL Digital Imaging • GIS • GPS • Telemetry • Cryptography • Digital Audio • LIDAR • Kinect • Embedded • Mobile • iPhone/iPad/iOS • Android
_______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org