Skip to content

Instantly share code, notes, and snippets.

@sulram
sulram / CornerPin.shader
Created June 23, 2018 03:27 — forked from Happsson/CornerPin.shader
Four corner pin unity shader
Shader "Distort/CornerPin"
{
Properties{
_MainTex("Base (RGB)", 2D) = "white" {}
_DLx("Down Left x", Range(-2.0,2.0)) = 0
_DLy("Down Left y", Range(-2.0,2.0)) = 0
_DRx("Down Right x", Range(-2.0,2.0)) = 0
_DRy("Down Right y", Range(-2.0,2.0)) = 0