Advertisement
Guest User

Untitled

a guest
Jun 17th, 2019
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. Shader "Custom/sample" {
  2. SubShader{
  3. Tags { "Queue" = "Transparent" }
  4. LOD 200
  5. CGPROGRAM
  6. #pragma surface surf Standard alpha:fade
  7. #pragma target 3.0
  8. struct Input {
  9. float2 uv_MainTex;
  10. };
  11. void surf(Input IN, inout SurfaceOutputStandard o) {
  12. o.Albedo = fixed4(0.9f, 0.9f, 0.9f, 1);
  13. o.Alpha = 0.6;
  14. }
  15. ENDCG
  16. }
  17. FallBack "Diffuse"
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement