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

Question How to Shockwave effect

Discussion in 'Shader Graph' started by Kelvynlee, Mar 12, 2020.

  1. Kelvynlee

    Kelvynlee

    Joined:
    Oct 11, 2019
    Posts:
    5
    I was playing Ori and the Blind Forest, and noticed the Shockwave/Distortion effect to explosions. But i dont know how i can make that effect, maybe with particles or shader graph... Pls help



     
  2. dr4

    dr4

    Joined:
    Jan 14, 2015
    Posts:
    106
    I did a similar effect (for 2D) as a experiment so far from perfect (just got it working and stopped there wihout any improvement), you will need to adapt it but if it helps it is all yours, it basically aftecs anything behind it (so the material is transparent and any opaque material behind it will have the effect), the secret here is the _CameraOpaque, which allow you do produce a glass effect on anything behind the material.

    In the last versions of unity _CameraOpaque stopped working with the new 2D renderer, they will fix it, in theory, haven't heard anything in months and it is still broken I'm afraid

    complete:

    upload_2020-3-12_23-4-56.png

    zoom:

    upload_2020-3-12_23-5-34.png

    upload_2020-3-12_23-6-13.png

    upload_2020-3-12_23-6-29.png

    more references:

     
    Tapwated, Sam-V and Kelvynlee like this.