[osg-users] OSG depth peeling and multisampling

Sebastian Messerschmidt sebastian.messerschmidt at gmx.de
Wed Nov 16 00:56:40 PST 2016


Hi Peter,

The simple depth peeling is most likely to be incompatible with 
multisampling as is.

In order to make it work, you most probably need to set up your FBOs 
with multisampling enabled and adjust the shaders to use per-sample 
evaluation. Quite possible that you need to do a depth/color-resolve 
pass at some point to produce the final image/depth buffer.
Basically deferred-shading with multisampling might provide some 
implementation details on how to set-up the buffers, samplers, textures 
and how to use per-sample evaluation.



Cheers
Sebastian





> No idea anyone?
> Thanks in forward
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=69383#69383
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>



More information about the osg-users mailing list