// Made with Amplify Shader Editor // Available at the Unity Asset Store - http://u3d.as/y3X Shader "MyShader/BasicsMove" { Properties { _Emission("Emission", 2D) = "white" {} _Albedo("Albedo", 2D) = "white" {} _Normal("Normal", 2D) = "white" {} _Color("Color", Color) = (1,1,1,0) _Emission_1("Emission_1", Range( 0 , 10)) = 0.13 _Float0("Float 0", Range( 0 , 2)) = 1.5 _Metal("Metal", 2D) = "white" {} [HideInInspector] _texcoord( "", 2D ) = "white" {} [HideInInspector] __dirty( "", Int ) = 1 } SubShader { Tags{ "RenderType" = "Opaque" "Queue" = "Geometry+0" "IsEmissive" = "true" } Cull Back CGPROGRAM #pragma target 3.0 #pragma surface surf StandardSpecular keepalpha addshadow fullforwardshadows struct Input { float2 uv_texcoord; }; uniform sampler2D _Normal; uniform float4 _Normal_ST; uniform sampler2D _Albedo; uniform float4 _Albedo_ST; uniform float4 _Color; uniform float _Emission_1; uniform sampler2D _Emission; uniform float4 _Emission_ST; uniform float _Float0; uniform sampler2D _Metal; uniform float4 _Metal_ST; void surf( Input i , inout SurfaceOutputStandardSpecular o ) { float2 uv_Normal = i.uv_texcoord * _Normal_ST.xy + _Normal_ST.zw; o.Normal = UnpackNormal( tex2D( _Normal, uv_Normal ) ); float2 uv_Albedo = i.uv_texcoord * _Albedo_ST.xy + _Albedo_ST.zw; o.Albedo = ( tex2D( _Albedo, uv_Albedo ) * _Color ).rgb; float2 uv_Emission = i.uv_texcoord * _Emission_ST.xy + _Emission_ST.zw; o.Emission = ( _Emission_1 * tex2D( _Emission, uv_Emission ) ).rgb; float2 uv_Metal = i.uv_texcoord * _Metal_ST.xy + _Metal_ST.zw; float4 temp_output_59_0 = ( _Float0 * tex2D( _Metal, uv_Metal ) ); o.Specular = temp_output_59_0.rgb; o.Smoothness = temp_output_59_0.r; o.Alpha = 1; } ENDCG } Fallback "Diffuse" CustomEditor "ASEMaterialInspector" } /*ASEBEGIN Version=15001 192;160;1101;785;1380.571;529.759;1.9;True;False Node;AmplifyShaderEditor.ColorNode;18;-860.7505,-70.60284;Float;False;Property;_Color;Color;4;0;Create;True;0;0;False;0;1,1,1,0;1,1,1,1;0;5;COLOR;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4 Node;AmplifyShaderEditor.SamplerNode;45;-353.8095,661.1581;Float;True;Property;_Metal;Metal;7;0;Create;True;0;0;False;0;None;57c87f7b9012ebc4cb6c5bf9d4684173;True;0;False;white;Auto;False;Object;-1;Auto;Texture2D;6;0;SAMPLER2D;0,0;False;1;FLOAT2;0,0;False;2;FLOAT;1;False;3;FLOAT2;0,0;False;4;FLOAT2;0,0;False;5;FLOAT;1;False;5;COLOR;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4 Node;AmplifyShaderEditor.RangedFloatNode;49;-307.2408,527.0544;Float;False;Property;_Float0;Float 0;6;0;Create;True;0;0;False;0;1.5;0.51;0;2;0;1;FLOAT;0 Node;AmplifyShaderEditor.RangedFloatNode;23;-800,384;Float;False;Property;_Emission_1;Emission_1;5;0;Create;True;0;0;False;0;0.13;0;0;10;0;1;FLOAT;0 Node;AmplifyShaderEditor.SamplerNode;13;-804.0816,491.8973;Float;True;Property;_Emission;Emission;0;0;Create;True;0;0;False;0;None;None;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;1;False;5;COLOR;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4 Node;AmplifyShaderEditor.SamplerNode;8;-872.5205,-263.8341;Float;True;Property;_Albedo;Albedo;1;0;Create;True;0;0;False;0;None;7130c16fd8005b546b111d341310a9a4;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;1;False;5;COLOR;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4 Node;AmplifyShaderEditor.SamplerNode;11;-642.1477,135.5273;Float;True;Property;_Normal;Normal;2;0;Create;True;0;0;False;0;None;11f03d9db1a617e40b7ece71f0a84f6f;True;0;True;white;Auto;True;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;1;False;5;FLOAT3;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4 Node;AmplifyShaderEditor.SimpleMultiplyOpNode;22;-414.7765,393.3979;Float;False;2;2;0;FLOAT;0;False;1;COLOR;0,0,0,0;False;1;COLOR;0 Node;AmplifyShaderEditor.SimpleMultiplyOpNode;59;142.2354,521.6608;Float;False;2;2;0;FLOAT;0;False;1;COLOR;0,0,0,0;False;1;COLOR;0 Node;AmplifyShaderEditor.SimpleMultiplyOpNode;20;-391.8264,-122.1132;Float;False;2;2;0;COLOR;0,0,0,0;False;1;COLOR;0,0,0,0;False;1;COLOR;0 Node;AmplifyShaderEditor.StandardSurfaceOutputNode;61;448.6135,110.1142;Float;False;True;2;Float;ASEMaterialInspector;0;0;StandardSpecular;MyShader/BasicsMove;False;False;False;False;False;False;False;False;False;False;False;False;False;False;False;False;False;False;False;Back;0;False;-1;0;False;-1;False;0;0;False;0;Opaque;0.5;True;True;0;False;Opaque;;Geometry;All;True;True;True;True;True;True;True;True;True;True;True;True;True;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;Zero;Zero;0;Zero;Zero;OFF;OFF;0;False;0;0,0,0,0;VertexOffset;True;False;Cylindrical;False;Relative;0;;-1;-1;-1;-1;0;0;0;False;0;0;0;False;-1;-1;16;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,0;False;2;FLOAT3;0,0,0;False;3;FLOAT3;0,0,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;22;0;23;0 WireConnection;22;1;13;0 WireConnection;59;0;49;0 WireConnection;59;1;45;0 WireConnection;20;0;8;0 WireConnection;20;1;18;0 WireConnection;61;0;20;0 WireConnection;61;1;11;0 WireConnection;61;2;22;0 WireConnection;61;3;59;0 WireConnection;61;4;59;0 ASEEND*/ //CHKSM=E780DEE88869D8790903C1486FD74BC369E1488F