- Home /
Is there a way to write to Deferred Depth from a command buffer in CameraEvent.AfterImageEffects?
I'd like to overwrite a segment of the Unity built-in Deferred Depth buffer using a command buffer in CameraEvent.AfterImageEffects.
The reason I want this is because Deferred Depth is used as _CameraDepthTexture at this point in the pipeline.
Sadly, any write commands at this point render to the camera targetTexture, not the depth buffer. Is there a way for me to set it as a render target?
Answer by DerWoDaSo · Jul 01, 2020 at 12:23 PM
Did you find a solution to that? Would be super interested...
Your answer
Follow this Question
Related Questions
How to get depth texture and render texture from one camera 0 Answers
Camera depthbuffer question. 0 Answers
Image effects do not work when rendering with multiple cameras 0 Answers
RenderTexture flickering while multiple RenderTexture rendering 1 Answer
Graphics.DrawTexture with multiple camera on mobile device not working 0 Answers