Skip to content

Instantly share code, notes, and snippets.

@peroon
peroon / Unlit-CastShadow.shader
Created November 16, 2016 13:52 — forked from pigeon6/Unlit-CastShadow.shader
Unlit texture shader which casts shadow on Forward/Defered
// Unlit texture shader which casts shadow on Forward/Defered
Shader "Unlit/Texture CastShadow" {
Properties {
_MainTex ("Base (RGB) Trans (A)", 2D) = "white" {}
}
SubShader {
Tags {"Queue"="Opaque" }
LOD 100