Search Unity

Camera Stacking URP - opaque texture

Discussion in 'Universal Render Pipeline' started by rboerdijk, Dec 7, 2020.

  1. rboerdijk

    rboerdijk

    Joined:
    Aug 4, 2018
    Posts:
    96
    Hello,

    When enabling the "Opaque Texture" on the base camera it will create copy of the rendered view, which we can then use to sample from (and use for a distortion effect).

    But what if we have an overlay camera which renders additional "additional things and we want to distort the "combined base + overlay camera"?. I don't see an option to set an opaque texture for the overlay camera. So how do we get an opaque texture of "everything rendered so far" (or maybe of only what the overlay camera rendered)?

    Regards
     
  2. gnp89

    gnp89

    Joined:
    Jun 25, 2012
    Posts:
    36
    We'd love to access the opaque texture in intermediate states as well, and maybe extend it to transparent objects. Currently we can't find a, easy way of stacking transparent effects like glass refractions in URP