Search Unity

Question URP, 2d renderer and _cameraOpaqueTexture

Discussion in 'Shader Graph' started by TheodorGal1977, Apr 15, 2021.

  1. TheodorGal1977

    TheodorGal1977

    Joined:
    Feb 3, 2021
    Posts:
    10
    After an extensive search online, here and elsewhere I have understood that _cameraOpaqueTexture currently doesnt work with URP 2d renderer. In search for a way to create a "shockwave effect" with shader graph reveals workarounds such as creating a second camera and rendering to a texture, then use that texture as a "replacement" for the _cameraOpaqueTexture in shader graph.
    Just posting here to see how others have coped with this problem or if there are any latest news/updates on the matter since the latest post I have found about it is since October 2020.
     
  2. Lo-renzo

    Lo-renzo

    Joined:
    Apr 8, 2018
    Posts:
    1,514
    Last edited: Apr 15, 2021
  3. TheodorGal1977

    TheodorGal1977

    Joined:
    Feb 3, 2021
    Posts:
    10
    Thanks for the link!