// Made with Amplify Shader Editor // Available at the Unity Asset Store - http://u3d.as/y3X Shader "IL3DN/OpaqueSurface" { Properties { _Color("Color", Color) = (1,1,1,1) _MainTex("MainTex", 2D) = "white" {} [HideInInspector] _texcoord( "", 2D ) = "white" {} [HideInInspector] __dirty( "", Int ) = 1 } SubShader { Tags{ "RenderType" = "Opaque" "Queue" = "Geometry+0" } Cull Back CGPROGRAM #pragma target 3.0 #pragma surface surf Standard keepalpha addshadow fullforwardshadows dithercrossfade struct Input { float2 uv_texcoord; }; uniform float4 _Color; uniform sampler2D _MainTex; uniform float4 _MainTex_ST; void surf( Input i , inout SurfaceOutputStandard o ) { float2 uv_MainTex = i.uv_texcoord * _MainTex_ST.xy + _MainTex_ST.zw; o.Albedo = saturate( ( _Color * tex2D( _MainTex, uv_MainTex ) ) ).rgb; o.Alpha = 1; } ENDCG } Fallback "Diffuse" CustomEditor "ASEMaterialInspector" } /*ASEBEGIN Version=17009 437;274;1924;1062;1542.261;867.5455;1.3;True;False Node;AmplifyShaderEditor.SamplerNode;2;-661.8821,-37.90222;Inherit;True;Property;_MainTex;MainTex;1;0;Create;True;0;0;False;0;None;73f9ff498af5bfb48bb4614c1957e6a8;True;0;False;white;Auto;False;Object;-1;Auto;Texture2D;6;0;SAMPLER2D;;False;1;FLOAT2;0,0;False;2;FLOAT;0;False;3;FLOAT2;0,0;False;4;FLOAT2;0,0;False;5;FLOAT;0;False;5;COLOR;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4 Node;AmplifyShaderEditor.ColorNode;1;-594.821,-220.0393;Float;False;Property;_Color;Color;0;0;Create;True;0;0;False;0;1,1,1,1;0.745283,0.6952595,0.6363029,1;False;0;5;COLOR;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4 Node;AmplifyShaderEditor.SimpleMultiplyOpNode;3;-246.2979,-112.5587;Inherit;False;2;2;0;COLOR;0,0,0,0;False;1;COLOR;0,0,0,0;False;1;COLOR;0 Node;AmplifyShaderEditor.SaturateNode;14;81.29081,-131.5186;Inherit;False;1;0;COLOR;0,0,0,0;False;1;COLOR;0 Node;AmplifyShaderEditor.StandardSurfaceOutputNode;0;257.7667,-148.8356;Float;False;True;2;ASEMaterialInspector;0;0;Standard;IL3DN/OpaqueSurface;False;False;False;False;False;False;False;False;False;False;False;False;True;False;False;False;False;False;False;False;False;Back;0;False;-1;0;False;-1;False;0;False;-1;0;False;-1;False;0;Opaque;0.5;True;True;0;False;Opaque;;Geometry;All;14;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;0;False;-1;0;False;-1;0;0;False;-1;0;False;-1;0;False;-1;0;False;-1;0;False;0;0,0,0,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;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 WireConnection;3;0;1;0 WireConnection;3;1;2;0 WireConnection;14;0;3;0 WireConnection;0;0;14;0 ASEEND*/ //CHKSM=3CD055D55493B91D73DDCF482C7DDDC7C935D153