Search Unity

How Can I Create Refraction with Shader Graph?

Discussion in 'Graphics Experimental Previews' started by FGPArthurVII, Jun 29, 2018.

  1. FGPArthurVII

    FGPArthurVII

    Joined:
    Jan 5, 2015
    Posts:
    68
    Hello, I wanted to create that distortion effect happens when you look through certain materials like glass, water, shaped plastic, black holes, lenses, etc.

    How can I accomplish it using the new Shader Graph?

    Thanks;
    Arthur
     
  2. Grimreaper358

    Grimreaper358

    Joined:
    Apr 8, 2013
    Posts:
    601
    Refraction isn't implemented for Shader graph yet. If you are using HDRP the standard Lit shader already supports Refraction so you can use that for glass.
     
unityunity