Skip to main content
Search our knowledge base

Graphics.Blit does not copy RenderTexture depth

Comments

2 comments

  • Lee Wood

    This doesn't work in the non-CG pipelines (that unity recommends) and no other solutions are easily found. The complete lack of support fixing issues that are broken in unity's recommended solutions is disheartening. I'm not certain I would have chosen unity had I known the engine often doesn't work.

    3
  • Daniel Renkel

    there is too few example code here, with important details missing:

    what is m_SrcDepthTexture ? a render texture usually has a DepthBuffer attached, not a texture. graphics.blit doesnt work with buffers, but with textures ... so this is unclear and needs a clearer example with 3 more detailed lines.

     

    0

Please sign in to leave a comment.