I’m trying to create a low res blur image from the camera’s view to create a cheap static blurred background image. I have it all working except that the renderer texture result shows objects clipping through each other.
Camera view:
Rendered low res image:
Here is the code that renders the texture:
m_Camera.Render();
RenderTexture.active = m_BlurRenderTexture;
m_BlurTexture.ReadPixels(new Rect(0, 0, m_BlurRenderTexture.width, m_BlurRenderTexture.height), 0, 0);
m_BlurTexture.Apply();
RenderTexture.active = null;