Skip to content

Instantly share code, notes, and snippets.

@tombuben
tombuben / Internal-MotionVectors.shader
Created March 31, 2022 19:13
Simple extension of the built in Unity Standard shader to properly support motion vectors with cutout transparency
// Unity built-in shader source. Copyright (c) 2016 Unity Technologies. MIT license (see license.txt)
Shader "New/Internal-MotionVectors"
{
//BEGIN(Tomas.Bubenicek): Properties taken directly from Standard.shader
Properties
{
_Color("Color", Color) = (1,1,1,1)
_MainTex("Albedo", 2D) = "white" {}