|
Hi,
What is the recommended way of setting the
same texture with different filtering options for
two subgraphs ? Lets suppose I want to display two quads side by side
and want first quad to be linearly filtered
and second quad nearest filtered ? Shall I clone the
texture ? If so which clone mode should I use ?
My problem is not exactly related to filtering but
shadowComparisonFunction. I adopted hud from osgshadow in osgshadowtexture
example. But noticed that hud comes out blank if I leave
shadowComparisonFunction set to true. If its false shadow map is displayed on
the hud but shadows are not generated in the scene. So i figured out that I
need to use texture with shadowComparisonFunction( true ) for scene shadowing
and shadowComparisonFunction( false ) for visualizing it on the hud.
Thanks in advance,
Wojtek Lewandowski
|
_______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
