Skip to content

Examples: Remove material AO demo.#32579

Merged
Mugen87 merged 1 commit intomrdoob:devfrom
Mugen87:dev3
Dec 18, 2025
Merged

Examples: Remove material AO demo.#32579
Mugen87 merged 1 commit intomrdoob:devfrom
Mugen87:dev3

Conversation

@Mugen87
Copy link
Collaborator

@Mugen87 Mugen87 commented Dec 18, 2025

Related issue: #27475

Description

When webgl_postprocessing_material_ao was added two years ago, it was an interesting demo that showed how AO is computed with a pre-pass and then used as an input in the beauty pass to achieve a more physically correct result. However, the fact that custom materials like MeshPostProcessingMaterial are required was a major downside. Hence, it was more of an experimental demo to me.

Now that we can use proper pre-passes with WebGPURenderer(see #32276), we have a more robust solution that requires no custom materials or shader patching from the user side. I think it's more beneficial to guide developers to webgpu_postprocessing_ao if they need a physically correct setup instead of webgl_postprocessing_material_ao which is removed by this PR.

@Mugen87 Mugen87 added this to the r183 milestone Dec 18, 2025
@Mugen87 Mugen87 merged commit adc26e1 into mrdoob:dev Dec 18, 2025
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant