Open
Description
Description
The current WebXR depth sensing implementation simply copies the depth into the target buffer.
This has the drawback of not being able to use the latest WebXR additions which make the depth "stick" to the real world.
In addition, we can't blur with the occlusion pixels.
Solution
I'd like to enhance the WebGPURenderer with a custom shader that always runs first.
In it, we will do the reprojection of the depth pixels as well as the blurring similar to the example of the WebXR samples.
@Mugen87 Is there a way to enhance the renderer to always to an operation first? I noticed that fog always runs last.
Alternatives
We could implement what was done in the old render but the occlusion is not good that way
Additional context
No response