Hello Stefan,

On 05/13/2013 11:21 AM, Wagner, Stefan wrote:
> I extended the HDRStage with a custom gBuffer (position, normal) which I
> use for SSAO (I know overkill, but I need the gBuffer for other things
> as well).
>
> This works fine if I use this stage only but I’m running into problems
> if I try to combine this stage with the ShadowStage. My custom gBuffer
> gets cleared as soon as I enable the ShadowStage.
>
> I tried to enable combineblend and also attached a DepthClearBackground
> to the viewport, but that didn’t helped. Does anybody knows why?
>
> My layout is the following:
>
> ShadowStage -> CustomHDRStage -> VisitRenderTree

my guess would be that the buffer gets cleared when generating the 
shadow maps - for which ideally you'd want the HDRStage to be a no-op. 
However, the HDRStage does not really have a good (any?) way of knowing 
that it is being visited as part of a pass that renders shadow maps, so 
I'm not sure what to suggest :(

        Cheers,
                Carsten

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to