Search Unity

Question Shader Graph Built-In Pipeline Get Scene Color

Discussion in 'Shader Graph' started by acirrox33, Jun 1, 2023.

  1. acirrox33

    acirrox33

    Joined:
    Jul 17, 2022
    Posts:
    1
    Hi, I wan`t to make a distortion shader graph, but first, obv I need to make a shader graph which
    simply shows himself invisible, having alpha in 100%, to after apply a distortion with time and textures.

    I found how to do it in URP or HDRP, but i want to use Built-In, and here ScreenPosition+Scene Color doesnt work.
    I know it is possible because there are distortion (no graph) shaders that works in this pipeline-
    Any ideas? Thanks

    Image: Example of what im looking for.
     

    Attached Files:

  2. wwWwwwW1

    wwWwwwW1

    Joined:
    Oct 31, 2021
    Posts:
    766
    Hi, Built-in RP doesn't have scene color feature, so the node won't work.

    I think you need to create a custom code shader (with Grab Pass command) to achieve distortion effect.