Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Performance drop with Render to Texture in VR

Discussion in 'General Graphics' started by andrzej_, Apr 16, 2019.

  1. andrzej_

    andrzej_

    Joined:
    Dec 2, 2016
    Posts:
    81
    I've noticed a significant drop in frame rate when using a single camera for render to texture in VR.
    I'm using LWRP VR and used for that second camera render layers, turned of depth,shadows etc (I only need it for GUI), culling. The texture then goes through a custom shader graph, but that shader graph in itself doesn't cause problems. Is there anything I'm missing?