Re: Shadows

New Message Reply Date view Thread view Subject view Author view

Rémi Arnaud (remi++at++remi.engr.sgi.com)
Mon, 26 Jan 1998 18:40:11 -0800 (PST)


Jean-Luc Dery wrote:
>
> Hi All,
>
> We are working on shadows in a Pf application and would like to control
> specific light source attributes in relation to the extra pass used to generate
> the shadow map. Is it possible to have some sort of a callback, from the
> pfChannel I would expect, when this extra pass is started.

 There are no callback, but you can specify your own texture using
 pfLightSource::nb_setAttr(PFLS_SHADOW_TEX, texture);

 Now, the shadow pass is done first, so I can imagine having a callback
 on nodes that look to see if it is the first pass...

    _ / _ _
|_) _ ._ _ o /\ |_)|\ | /\ | || \
| \(/_| | || /--\| \| \|/--\|_||_/
                                           
=======================================================================
List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
            Submissions: info-performer++at++sgi.com
        Admin. requests: info-performer-request++at++sgi.com


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:56:37 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.