123456789101112131415161718192021222324 |
- Shader "Custom/TwoSideDiffuseAlphaTest" {
- Properties {
- _MainTex ("Base (RGB)", 2D) = "white" {}
- _Cutoff ("Alpha cutoff", Range (0,1)) = 0.5
- }
- SubShader {
- Tags { "RenderType"="Opaque" }
- LOD 200
-
- AlphaTest Greater [_Cutoff]
- Cull Off
-
- Pass {
- Material {
- Diffuse(1,1,1,1)
- Ambient(1,1,1,1)
- }
- Lighting On
- SetTexture [_MainTex] { Combine texture * Primary Double}
-
- }
- }
- }
|