claygl icon indicating copy to clipboard operation
claygl copied to clipboard

Incompatibility between ambient occlusion and parallax occlusion.

Open SamuelTallet opened this issue 5 years ago • 3 comments

Hello @pissang,

When I use ambient occlusion with parallax occlusion, shadows strangely surround geometry. This looks like a bug: ao_with_po

Below, when I only use parallax occlusion. This is OK: po_only

Best regards,

Samuel Tallet

SamuelTallet avatar Nov 25 '19 21:11 SamuelTallet

@SamuelTS Hi, can you provide your asset for me to debug?

pissang avatar Nov 26 '19 07:11 pissang

Yes, for sure. Thank you! You can download glTF model asset here. Diffuse/normal/AO map is embedded.

And here is parallax occlusion map:

castle_brick_02_red_disp_4k

Best regards, Samuel Tallet

SamuelTallet avatar Nov 26 '19 08:11 SamuelTallet

Thanks @SamuelTS

pissang avatar Nov 27 '19 03:11 pissang