Hi Nick,

On Fri, Dec 11, 2009 at 9:40 AM, Trajce Nikolov
<[email protected]> wrote:
> I mimic the code from osgspotlight and here are the results. To me it looks
> like one half of the lobe is mirrored. Any idea ?

This is a classic issue with projective texturing - the way around it
is either to use a shader to disable the lighting behind, or to use a
1D texture along the axis of the light that clips out the light from
behind.  Such a texture would also enable you to attenuate the light.

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

Reply via email to