Hello Michael,

On 06/03/2013 08:05 AM, Michael Raab wrote:
> What is the desired way to enable shadow rendering?
> By using the ShadowEngines (Simple, Trapezoidal, ..) like in shadows
> example?

the easiest way is probably the ShadowStage (it's also closest to the 
ShadowViewport from 1.x). To be honest I'm not sure which I'd call the 
desired way. From my point of view the engines are a cleaner approach, 
but we don't have all the different shadow modes that the ShadowStage 
supports. Gerrit?

> Browsing the code I found things like ShadowStage and several handlers
> e.g. for PCF? How are those to be used?

The handlers are created internal to the ShadowStage, you just set the 
shadow mode.

> Using the engines, is it possible to define nodes that do not cast
> and/or receive shadows?

The base ShadowMapEngine has a trav mask for creating the shadow map, so 
it can exclude occluders. I don't think there is a way exclude shadow 
receivers.

        Cheers,
                Carsten

------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. A cloud service to automate IT design, transition and operations
2. Dashboards that offer high-level views of enterprise services
3. A single system of record for all IT processes
http://p.sf.net/sfu/servicenow-d2d-j
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to