i don’t have a plain three example but just watch line 21 and 45 and ignore the rest: r3f hud - CodeSandbox
gl.autoClear = true
gl.render(scene, camera)
gl.autoClear = false
gl.clearDepth()
gl.render(hudScene, hudCamera)
i don’t have a plain three example but just watch line 21 and 45 and ignore the rest: r3f hud - CodeSandbox
gl.autoClear = true
gl.render(scene, camera)
gl.autoClear = false
gl.clearDepth()
gl.render(hudScene, hudCamera)