When I add AO effects in PostProcessing, I find that models with glass have issues. The internal structures of the glass do not have the AO effect. How can I solve this problem? I am using Three.js version 0.172.0, with THREE.PostProcessing, GTAO, and my renderer is THREE.WebGPURenderer.
- Correct me if I’m wrong, but I’m like 99% certain that AO on glass makes no sense, that’s since light can travel through it, just like self-shadowing.
- Depends also what you mean by “glass” overall. It it MeshStandardMaterial just with transparency? MeshTransmissionMaterial? Something custom?