Babylon.js: Using SSAO2 pipeline with hasAlpha issue

Created on 4 Jan 2019  路  5Comments  路  Source: BabylonJS/Babylon.js

When using SSOA2 Pipeline, the SSAO rendering isn't gonna consider objects with hasAlpha as having the right depth in the z-buffer, resulting in annomalies in the rendering.

Here is an example : https://www.babylonjs-playground.com/#LFVESY

image

bug

Most helpful comment

@deltakosh i'm out of town till tuesday, but i'll definitely have a look next week.
On the top of my head i think it's maybe that the hasAlpha flag is ignored, and not sent to the depth-pass fragment shader.

All 5 comments

Thanks I will have a look asap

@CraigFeldspar or @julien-moreau dop you guys want to have a look?

@deltakosh i'm out of town till tuesday, but i'll definitely have a look next week.
On the top of my head i think it's maybe that the hasAlpha flag is ignored, and not sent to the depth-pass fragment shader.

I think so! Thanks and no rush. Next week is fine

sneaky AF, got me 2 hours to figure it out ;)

Was this page helpful?
0 / 5 - 0 ratings