Hello Michael,

On 12/14/2011 07:49 AM, Michael Raab wrote:
> would it be in general (and in the current implementation) possible to 
> exclude nodes from receiving shadows? I was thinking about holding two 
> separate lists for each ShadowViewport:
> - list of nodes to be excluded from casting
> - list of nodes to be excluded from receiving
> What do you think?

I think it may be possible to do this. Receivers need to be disabled for 
the createShadowFactorMap{,FBO}() functions (these combine the shadow 
maps for the various light sources into a single screen space map that 
darkens areas that do not receive light).
The only tricky part I see is that you need to preserve the depth buffer 
for the render passes to combine the shadow maps so that you don't 
accidentally receive shadows on what is behind an excluded receiver.

        Cheers,
                Carsten

------------------------------------------------------------------------------
10 Tips for Better Server Consolidation
Server virtualization is being driven by many needs.  
But none more important than the need to reduce IT complexity 
while improving strategic productivity.  Learn More! 
http://www.accelacomm.com/jaw/sdnl/114/51507609/
_______________________________________________
Opensg-users mailing list
Opensg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to