You can use an orthographic camera that renders from behind in a render target texture, and use that texture as the emissive texture of the plane:
We don’t have a depth material, so I created a material plugin to emulate it.
You can use an orthographic camera that renders from behind in a render target texture, and use that texture as the emissive texture of the plane:
We don’t have a depth material, so I created a material plugin to emulate it.