Hi,
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
HDRStage with SSAO, no light:
https://www.dropbox.com/s/e7a5m1o7cy05ksv/hdrssaonolight.png
HDRStage with SSAO, one directional light:
https://www.dropbox.com/s/mh0quys68h9z2d2/hdrssaodirlight.png
ShadowStage, one directional light:
https://www.dropbox.com/s/gi52i9iqtfczax3/shadowdirlight.png
ShadowStage and HDRStage with SSAO, one directional light:
https://www.dropbox.com/s/4xr73775w97fak5/shadowandhdrssaodirlight.png (notice
the artifacts due the cleared wrong gBuffer)
Thanks,
Stefan
--
Dipl.-Medieninf. Stefan Wagner
Interaktive Engineering Technologien (IET)
Fraunhofer-Institut für Graphische Datenverarbeitung IGD
Fraunhoferstr. 5 | 64283 Darmstadt | Germany
Telefon +49 6151 155-473 | Fax +49 6151 155-139
[email protected]<mailto:[email protected]> |
www.igd.fraunhofer.de<http://www.igd.fraunhofer.de>
------------------------------------------------------------------------------
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