Skip to content

Instantly share code, notes, and snippets.

View Nrjwolf's full-sized avatar
🤙
I'm fine

Alexander Nrjwolf

🤙
I'm fine
View GitHub Profile
@Nrjwolf
Nrjwolf / WaveExplo.shader
Last active July 20, 2020 10:35 — forked from jpsarda/WaveExplo.shader
Add WaveExplosionEffect to your camera
// Upgrade NOTE: replaced 'mul(UNITY_MATRIX_MVP,*)' with 'UnityObjectToClipPos(*)'
Shader "Custom/WaveExplo" {
Properties {
_MainTex ("", 2D) = "white" {}
_CenterX ("CenterX", Range(-1,2)) = 0.5
_CenterY ("CenterY", Range(-1,2)) = 0.5
_Radius ("Radius", Range(-1,1)) = 0.2
_WaveSize ("Wave Size", float) = 0.2
_Amplitude ("Amplitude", Range(-10,10)) = 0.05