[osg-users] hide shadow map receiver

2010-06-10 Thread Huan Wei
Hi, i use osgshadow in osgart, the shadow map work fine. the model is standing on a plane, shadow cast to the plane, the plane is attach to the pattern, what i want is to make the plane invisible but the shadow remains, to make it looks like shadow on the top of pattern. i try alpha blending

Re: [osg-users] hide shadow map receiver

2010-06-10 Thread Jean-Sébastien Guay
Hi weihuan, i use osgshadow in osgart, the shadow map work fine. the model is standing on a plane, shadow cast to the plane, the plane is attach to the pattern, what i want is to make the plane invisible but the shadow remains, to make it looks like shadow on the top of pattern. i try alpha

Re: [osg-users] hide shadow map receiver

2010-06-10 Thread Huan Wei
Hi, Skylark thanks a million for your advice. i was using shadow map, shadow volume did not work. one thing i was confuse, if i add an uniform bool varible to the scene node, is it can indicate which fragment(pixel) belong to shadow caster object or receiver object? maybe i just dont know that.

Re: [osg-users] hide shadow map receiver

2010-06-10 Thread Huan Wei
Hi, Skylark thank you for the detailed explanation. i'll try it. ... Thank you! Cheers, Huan -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=28808#28808 ___ osg-users mailing list