Created
March 29, 2013 03:17
-
-
Save jkriddle/5268543 to your computer and use it in GitHub Desktop.
Unity3D shader that will make an object transparent, but still cast shadows.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Shader "Transparent/InvisibleShadowCaster" | |
{ | |
Subshader | |
{ | |
UsePass "VertexLit/SHADOWCOLLECTOR" | |
UsePass "VertexLit/SHADOWCASTER" | |
} | |
Fallback off | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment