Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Shader "Custom/sample" {
- SubShader{
- Tags { "Queue" = "Transparent" }
- LOD 200
- CGPROGRAM
- #pragma surface surf Standard alpha:fade
- #pragma target 3.0
- struct Input {
- float2 uv_MainTex;
- };
- void surf(Input IN, inout SurfaceOutputStandard o) {
- o.Albedo = fixed4(0.9f, 0.9f, 0.9f, 1);
- o.Alpha = 0.6;
- }
- ENDCG
- }
- FallBack "Diffuse"
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement