Search Unity

Question How to sample "HD Scene Color" inside a custom expression node?

Discussion in 'Shader Graph' started by Passeridae, Jul 18, 2021.

  1. Passeridae

    Passeridae

    Joined:
    Jun 16, 2019
    Posts:
    395
    Is there a way to sample this
    upload_2021-7-18_3-58-39.png
    In a custom expression?
    Thanks!
     
  2. Passeridae

    Passeridae

    Joined:
    Jun 16, 2019
    Posts:
    395
    And it would be also cool to know how to sample scene depth outside the scene depth node. I'd like to use depth mip-maps, if they are available.