Obstacle.shader 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. // Made with Amplify Shader Editor
  2. // Available at the Unity Asset Store - http://u3d.as/y3X
  3. Shader "ADON/Obstacle"
  4. {
  5. Properties
  6. {
  7. _Color0("Color 0", Color) = (0,0,0,0)
  8. [HideInInspector] __dirty( "", Int ) = 1
  9. }
  10. SubShader
  11. {
  12. Tags{ "RenderType" = "Opaque" "Queue" = "Background+0" "IgnoreProjector" = "True" }
  13. Cull Back
  14. CGPROGRAM
  15. #pragma target 3.0
  16. #pragma surface surf Standard keepalpha addshadow fullforwardshadows exclude_path:deferred
  17. struct Input
  18. {
  19. half filler;
  20. };
  21. uniform float4 _Color0;
  22. void surf( Input i , inout SurfaceOutputStandard o )
  23. {
  24. o.Albedo = _Color0.rgb;
  25. o.Alpha = 1;
  26. }
  27. ENDCG
  28. }
  29. Fallback "Diffuse"
  30. CustomEditor "ASEMaterialInspector"
  31. }
  32. /*ASEBEGIN
  33. Version=18909
  34. 505;198;1473;711;3131.884;734.0441;3.341982;True;True
  35. Node;AmplifyShaderEditor.ColorNode;19;-465.0469,-49.95523;Inherit;False;Property;_Color0;Color 0;0;0;Create;True;0;0;0;False;0;False;0,0,0,0;0.2745098,0.4313725,0.8588235,1;True;0;5;COLOR;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4
  36. Node;AmplifyShaderEditor.StandardSurfaceOutputNode;0;-2.816066,-2.816066;Float;False;True;-1;2;ASEMaterialInspector;0;0;Standard;ADON/Obstacle;False;False;False;False;False;False;False;False;False;False;False;False;False;False;True;False;False;False;False;False;False;Back;0;False;-1;0;False;-1;False;0;False;-1;0;False;-1;False;0;Custom;0.5;True;True;0;True;Opaque;;Background;ForwardOnly;16;all;True;True;True;True;0;False;-1;False;0;False;-1;255;False;-1;255;False;-1;0;False;-1;0;False;-1;0;False;-1;0;False;-1;0;False;-1;0;False;-1;0;False;-1;0;False;-1;False;2;15;10;25;False;0.5;True;0;5;False;-1;10;False;-1;0;0;False;-1;0;False;-1;0;False;-1;0;False;-1;0;False;0;0.6084906,0.8249723,1,0;VertexOffset;True;False;Cylindrical;False;Relative;0;;1;-1;-1;-1;0;False;0;0;False;-1;-1;0;False;-1;0;0;0;False;0.1;False;-1;0;False;-1;False;16;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,0;False;2;FLOAT3;0,0,0;False;3;FLOAT;0;False;4;FLOAT;0;False;5;FLOAT;0;False;6;FLOAT3;0,0,0;False;7;FLOAT3;0,0,0;False;8;FLOAT;0;False;9;FLOAT;0;False;10;FLOAT;0;False;13;FLOAT3;0,0,0;False;11;FLOAT3;0,0,0;False;12;FLOAT3;0,0,0;False;14;FLOAT4;0,0,0,0;False;15;FLOAT3;0,0,0;False;0
  37. WireConnection;0;0;19;0
  38. ASEEND*/
  39. //CHKSM=5331B88E03153AB331720A1A24D53E27A6C97422