Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Unlit alpha-blended shader.
- // - no lighting
- // - no lightmap support
- // - no per-material color
- Shader "Unlit/Transparent" {
- Properties {
- _MainTex ("Base (RGB) Trans (A)", 2D) = "white" {}
- }
- SubShader {
- Tags {"Queue"="Transparent" "IgnoreProjector"="True" "RenderType"="Transparent"}
- LOD 100
- ZWrite Off
- Blend SrcAlpha OneMinusSrcAlpha
- Pass {
- Lighting Off
- SetTexture [_MainTex] { combine texture }
- }
- }
- }
Add Comment
Please, Sign In to add comment