Skip to content

Instantly share code, notes, and snippets.

View Woolton's full-sized avatar

Donovan Conward Woolton

  • Ft Lauuderdale, Fl
View GitHub Profile
@Fewes
Fewes / Distortion.shader
Last active November 15, 2022 13:48
Distortion shader for Unity. Supports a normal map.
Shader "Distortion"
{
Properties
{
_Refraction ("Refraction", Range (0.00, 10.0)) = 1.0
_Power ("Power", Range (1.00, 10.0)) = 1.0
_AlphaPower ("Vertex Alpha Power", Range (1.00, 10.0)) = 1.0
_BumpMap( "Normal Map", 2D ) = "bump" {}
_Cull ( "Face Culling", Int ) = 2