Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Heat Distortion effect on vfx graph ?

Discussion in 'Visual Effect Graph' started by Kikimacia, Mar 31, 2020.

  1. Kikimacia

    Kikimacia

    Joined:
    Jan 27, 2020
    Posts:
    17
    Hi everybody !

    As mentioned in the title, I'd like to reproduce something like in this tutorial :



    Do we have something I missed in the output particle to set something like the stained bump distort used in the video ?

    Thanks for the help !
     
    FlightOfOne likes this.
  2. JulienF_Unity

    JulienF_Unity

    Unity Technologies

    Joined:
    Dec 17, 2015
    Posts:
    326
    There's a distortion ouput node available in VFX Graph (For HDRP only)
     
  3. Kikimacia

    Kikimacia

    Joined:
    Jan 27, 2020
    Posts:
    17
    Thanks for the super fast response :D

    In the case I'm not in HDRP there is no way to do it then. No strategy to fake it maybe ?
     
  4. JulienF_Unity

    JulienF_Unity

    Unity Technologies

    Joined:
    Dec 17, 2015
    Posts:
    326
    Probably a custom VFX shader graph could do the trick in URP then
     
  5. hoiblijapen

    hoiblijapen

    Joined:
    Jul 15, 2018
    Posts:
    2
    Where is this distortion node located, because I can not find it.
     
    viniciuscupello likes this.
  6. projectorgames_unity

    projectorgames_unity

    Joined:
    Oct 15, 2018
    Posts:
    107
    So what's the URP solution? Distortion effects have been commonplace in games for decades now...
     
  7. syverapt

    syverapt

    Joined:
    Sep 28, 2020
    Posts:
    14
    What's the HDRP solution for this? How do the distortion output contexts work?
     
  8. soroush-abasian

    soroush-abasian

    Joined:
    Jun 24, 2015
    Posts:
    6
  9. projectorgames_unity

    projectorgames_unity

    Joined:
    Oct 15, 2018
    Posts:
    107
    That looks like a post-process screen effect, so not a lot of use really.
     
  10. FlightOfOne

    FlightOfOne

    Joined:
    Aug 1, 2014
    Posts:
    668
    Why is there no distortion graph for URP? Is it because of a technical limitation?
     
  11. VladVNeykov

    VladVNeykov

    Unity Technologies

    Joined:
    Sep 16, 2016
    Posts:
    550
    Hey @FlightOfOne ,

    Distortion is an HDRP-specific pass with lots of fancy calculations to distort the frame buffer. That being said, if you are interested in making a simple heat distortion effect in URP (without all the bells and whistles), you can use the ShaderGraph integration for VFX. This post has a small working example of how to achieve this.

    (edited to specify that HDRP distortion is a separate pass to distort the frame buffer)
     
    Last edited: May 5, 2021
  12. FlightOfOne

    FlightOfOne

    Joined:
    Aug 1, 2014
    Posts:
    668
    Awesome, this is all I needed! Yeah, just need a simple distortion effect for like a fire or explosion. As always, appreciate your help!
     
    VladVNeykov likes this.