pissang / claygl-advanced-renderer

Advanced rendering pipeline for ClayGL

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SSAO causes black ghosting.

SamuelTallet opened this issue Β· comments

ClayGL: 1.2.1
ClayGL Advanced Renderer: 0.1.0
Browser: Chrome 66

Hello,

Since I enabled SSAO, this "watermark" appears.
It looks like an old persistent image not cleared...

with ssao

And now the render without SSAO enabled. πŸ‘

without ssao

When I disable normal map: ghosting disappears.
Maybe there's a conflict between normal and AO.

Hi @SamuelTS , sorry for the late reply. Can I see your code?

Hi @pissang, no problem for the late reply ;)

You can see my code here: https://github.com/SamuelTS/SketchUp-PBR-Plugin/blob/v1.3.6/source/pbr/Viewport%20App/viewport.js

Relevant parts: PBR.Viewport.cfg.advancedGraphics, PBR.Viewport.cfg.useAdvancedRenderer.