Chris 'Xenon' Hanson wrote:
Trajce Nikolov wrote:
make a update callback to the node and change the alpha component of the
material in the state over time

  This doesn't really work with the PagedLOD node type that osg Terrain is 
usually made
with. I don't know for sure if Akilan is using VPB/OSGDEM/PagedLOD or not, but 
I suspect so.

If lighting is enabled, and if the texture is applied with MODULATE (the default, and usually what you want with lighting), then I'd think that setting a Material with non-1.0 alpha would work.

(Of course, you also have to enable blending, and then you'll want to throw all the terrain tiles into the transparent bin, and then you have to deal with self-obscuring terrain... Basically, all the typical rendering issues associated with translucent geometry.)
   -Paul

_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to