[osg-users] 3D Text looks funky under PSSM?

Alejandro Segovia asegovi at gmail.com
Tue Jun 3 09:08:21 PDT 2008


On Wed, May 28, 2008 at 5:20 PM, Jean-Sébastien Guay <
jean-sebastien.guay at cm-labs.com> wrote:

> Hi Alejandro,
>
>  I wanted to ask if this is a known issue and if there happens to be a way
>> to "protect" a node from receiving shadows other than using the node mask,
>> since PSSM ignores the ReceiveShadowMask.
>>
>
> I haven't checked, but perhaps you could try to attach an empty
> osg::Program to the text nodes? (just new osg::Program)
>
> Let us know if this works.
>

Hey it works great! Please never fix the more-than-one-shader-not-working
issue :)

Seriously tough, canceling the shader on the node I want to "protect" works
great, but I wonder if there is another way to do it without creating a new
osg::Program. Calling setAttribute(FRAGMENTPROGRAM, OFF) on the node did not
work for me.

Anyway, thanks a lot for the help ;)

Alejandro.-

-- 
Varrojo at Linux
http://varrojo.linuxuruguay.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20080603/bdf94574/attachment.htm>


More information about the osg-users mailing list