%YAML 1.1 %TAG !u! tag:unity3d.com,2011: --- !u!114 &11400000 MonoBehaviour: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 0} m_Enabled: 1 m_EditorHideFlags: 0 m_Script: {fileID: 11500000, guid: 78b2425a2284af743826c689403a4924, type: 3} m_Name: Apply Height Fog m_EditorClassIdentifier: m_functionInfo: "// Made with Amplify Shader Editor\n// Available at the Unity Asset Store - http://u3d.as/y3X \n/*ASEBEGIN\nVersion=18103\n1927;1;1906;1020;2237.796;1103.186;1;True;False\nNode;AmplifyShaderEditor.FunctionNode;92;-1664,-640;Inherit;False;Base;-1;;836;13c50910e5b86de4097e1181ba121e0e;2,99,0,116,0;0;3;FLOAT4;113;FLOAT3;86;FLOAT;87\nNode;AmplifyShaderEditor.LerpOp;82;-1344,-768;Inherit;False;3;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,0;False;2;FLOAT;0;False;1;FLOAT3;0\nNode;AmplifyShaderEditor.FunctionInput;81;-1664,-768;Inherit;False;Color;3;0;False;1;0;FLOAT3;0,0,0;False;1;FLOAT3;0\nNode;AmplifyShaderEditor.FunctionOutput;87;-1344,-576;Inherit;False;False;-1;Fog Alpha;2;False;1;0;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.FunctionOutput;86;-1344,-640;Inherit;False;False;-1;Fog Color;1;False;1;0;FLOAT3;0,0,0;False;1;FLOAT3;0\nNode;AmplifyShaderEditor.FunctionOutput;85;-896,-768;Inherit;False;True;-1;Fog Applied;0;False;1;0;FLOAT3;0,0,0;False;1;FLOAT3;0\nNode;AmplifyShaderEditor.CommentaryNode;56;-1664,-896;Inherit;False;890.9961;100;Final Pass;0;;0.684,1,0,1;0;0\nWireConnection;82;0;81;0\nWireConnection;82;1;92;86\nWireConnection;82;2;92;87\nWireConnection;87;0;92;87\nWireConnection;86;0;92;86\nWireConnection;85;0;82;0\nASEEND*/\n//CHKSM=4A9132F03100914AF35678CB0005EE78ACFFC33B" m_functionName: m_description: "Use this function to apply fog on transparent or custom UI shaders made with Amplify Shader Editor. \n\no Surface Shaders\nWhen using Surface Shaders or Lightweight PBR template, connect the function to the Emission port. If Emission is used, pass the emission color through the Apply Height Fog node.\n\no Fragment Shaders:\nWhen Unlit or custom UI shaders are used, pass the final color through the Apply Height Fog node.\n" m_additionalIncludes: m_additionalIncludes: [] m_outsideIncludes: [] m_additionalPragmas: m_additionalPragmas: [] m_outsidePragmas: [] m_additionalDirectives: m_validData: 0 m_isDirty: 1 m_moduleName: ' Additional Directives' m_independentModule: 1 m_additionalDirectives: [] m_shaderFunctionDirectives: [] m_nativeDirectives: [] m_nativeDirectivesIndex: -1 m_nativeDirectivesFoldout: 0 m_directivesSaveItems: [] m_nodeCategory: 3 m_customNodeCategory: m_previewPosition: 0 m_hidden: 0