pex-renderer icon indicating copy to clipboard operation
pex-renderer copied to clipboard

SSAO is screen resolution dependent or broken?

Open vorg opened this issue 7 years ago • 7 comments

No matter what the radius it looks bad screen shot 2018-09-14 at 09 33 23

vorg avatar Sep 14 '18 08:09 vorg

Seems ok in the postprocessing example?

screen shot 2018-09-14 at 11 14 18

vorg avatar Sep 14 '18 10:09 vorg

screen shot 2018-09-14 at 11 26 15 ssaoIntensity=6 ssaoRadius=3 ssaoBlurRadius=0 screen shot 2018-09-14 at 11 26 38 ssaoIntensity=6 ssaoRadius=3 ssaoBlurRadius=1

This doesn't seem to be very depth aware. Also ssaoBlurSharpness does nothing.

vorg avatar Sep 14 '18 10:09 vorg

ssaoBlurSharpness actually works, it just slider onchange had typo. It does influence only the edges of the mesh and bilateral blur is not good enough for small differences in depth like in the right mesh.

vorg avatar Sep 14 '18 10:09 vorg

I'm reusing BilateralBlur from DOF so that might be a problem.

vorg avatar Sep 14 '18 10:09 vorg

This SSAO is so much better http://marcinignac.com/experiments/blocks/demo/ screen shot 2018-09-14 at 11 39 46

vorg avatar Sep 14 '18 10:09 vorg