I’m attempting to take the output from a webgpu postprocessing render and use that as a texture, to create a picture-in-picture effect.
I’ve achieved the result using a RenderTarget ( see below ) but it doesn’t include any of the postprocessing effects, as I’m just doing a normal render.
renderer.setRenderTarget(renderTarget)
renderer.render(this.scene, this.camera)
renderer.setRenderTarget(null)
plane.material.map = renderTarget.texture
replacing the line:
// renderer.render(this.scene, view.camera)
postprocessing.render()
doesn’t seem to work as I think post processing works on its own internal render target.
Any help would be greatly appreciated.