72 lines
10 KiB
Plaintext
72 lines
10 KiB
Plaintext
%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: URP Reflection Probe
|
|
m_EditorClassIdentifier:
|
|
m_functionInfo: "// Made with Amplify Shader Editor\n// Available at the Unity
|
|
Asset Store - http://u3d.as/y3X \n/*ASEBEGIN\nVersion=18907\n-2161;79;1391;1058;3092.462;2337.944;4.724497;True;False\nNode;AmplifyShaderEditor.SimpleMultiplyOpNode;3;-1667.274,-359.1912;Inherit;False;2;2;0;FLOAT2;0,0;False;1;FLOAT;0;False;1;FLOAT2;0\nNode;AmplifyShaderEditor.LerpOp;38;-565.9636,-273.4314;Inherit;False;3;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,0;False;2;FLOAT;0;False;1;FLOAT3;0\nNode;AmplifyShaderEditor.LerpOp;23;-151.4143,-203.0396;Inherit;False;3;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0,0,0,0;False;2;FLOAT;0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.SimpleMultiplyOpNode;39;-330.6394,137.7102;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleMultiplyOpNode;13;-2107.615,-360.1151;Inherit;False;2;2;0;FLOAT3;0,0,0;False;1;FLOAT;0;False;1;FLOAT3;0\nNode;AmplifyShaderEditor.StickyNoteNode;46;-591.059,333.1211;Inherit;False;414.5856;112.6937;FRESNEL;;0,0,0,1;Fresnel
|
|
Mode: off/active$Fresnel Strength: reduce or increase effect $Fresnel Bias:
|
|
feathers reflection$Fresnel Scale: scale $;0;0\nNode;AmplifyShaderEditor.ViewDirInputsCoordNode;20;-1230.143,-410.9792;Inherit;False;World;False;0;4;FLOAT3;0;FLOAT;1;FLOAT;2;FLOAT;3\nNode;AmplifyShaderEditor.RangedFloatNode;6;-896.4927,154.4904;Float;False;Property;_URP_ReflectionFresnelBias;Fresnel
|
|
Bias;8;0;Create;False;1;;0;0;False;0;False;1;0.5;0;1;0;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleAddOpNode;15;-1326.956,-249.175;Inherit;False;2;2;0;FLOAT2;0,0;False;1;FLOAT;0;False;1;FLOAT2;0\nNode;AmplifyShaderEditor.CustomExpressionNode;24;49.92542,-295.6514;Inherit;False;if(m_switch
|
|
==0)$\treturn m_Off@$else if(m_switch ==1)$\treturn m_Active@$else$return float4(0,0,0,0)@;4;Create;3;True;m_switch;INT;0;In;;Inherit;False;True;m_Off;FLOAT4;0,0,0,0;In;;Inherit;False;True;m_Active;FLOAT4;0,0,0,0;In;;Inherit;False;float4
|
|
switch ;True;False;0;;False;3;0;INT;0;False;1;FLOAT4;0,0,0,0;False;2;FLOAT4;0,0,0,0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.StickyNoteNode;44;-998.2821,-401.4618;Inherit;False;567;100;ASE
|
|
Node - Reflection Probe;;0.1037736,0.1037736,0.1037736,1;Provides access to the
|
|
nearest Unity reflection probe to the object;0;0\nNode;AmplifyShaderEditor.ComponentMaskNode;30;-1884.566,-364.8161;Inherit;False;True;True;False;True;1;0;FLOAT3;0,0,0;False;1;FLOAT2;0\nNode;AmplifyShaderEditor.RangedFloatNode;14;-897.3645,246.8735;Float;False;Property;_URP_ReflectionFresnelScale;Fresnel
|
|
Scale;9;0;Create;False;1;;0;0;False;0;False;0.5;0;0;1;0;1;FLOAT;0\nNode;AmplifyShaderEditor.RangedFloatNode;18;-1966.94,-208.9946;Float;False;Property;_URP_ReflectionBumpClamp;Reflection
|
|
Bump Clamp;5;0;Create;False;1;;0;0;False;0;False;0.15;0.15;0;0.15;0;1;FLOAT;0\nNode;AmplifyShaderEditor.IntNode;22;-151.9108,-377.7569;Inherit;False;Property;_URP_ReflectionFresnelMode;Fresnel
|
|
Mode;6;1;[Enum];Create;False;1;;2;Off;0;Active;1;0;False;0;False;1;0;False;0;1;INT;0\nNode;AmplifyShaderEditor.RangedFloatNode;17;-1966.204,-287.989;Float;False;Property;_URP_ReflectionBumpScale;Reflection
|
|
Bump Scale;4;0;Create;False;1;;0;0;False;0;False;0.5;0;0;1;0;1;FLOAT;0\nNode;AmplifyShaderEditor.ClampOpNode;11;-1518.518,-249.3237;Inherit;False;3;0;FLOAT2;0,0;False;1;FLOAT2;0,0;False;2;FLOAT2;1,0;False;1;FLOAT2;0\nNode;AmplifyShaderEditor.StickyNoteNode;43;-1664.227,-26.56266;Inherit;False;610.1622;161.1349;REFLECTION
|
|
PROBE ;;0,0,0,1;Reflection Mode: off/active$Reflection Cloud: used to reduce
|
|
clouds in reflections$Reflection Wobble: wobble effect into reflection$Reflection
|
|
Level of Detail: blurring effect$Reflection Bump Scale: bump scale$Reflection
|
|
Bump Clamp: bump scale down$;0;0\nNode;AmplifyShaderEditor.BreakToComponentsNode;36;-776.6055,-206.8474;Inherit;False;FLOAT3;1;0;FLOAT3;0,0,0;False;16;FLOAT;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4;FLOAT;5;FLOAT;6;FLOAT;7;FLOAT;8;FLOAT;9;FLOAT;10;FLOAT;11;FLOAT;12;FLOAT;13;FLOAT;14;FLOAT;15\nNode;AmplifyShaderEditor.FunctionInput;31;-2294.164,-390.7263;Inherit;False;NORMAL_IN;3;1;False;1;0;FLOAT3;0,0,1;False;1;FLOAT3;0\nNode;AmplifyShaderEditor.SimpleAddOpNode;33;861.7324,-368.4763;Inherit;False;2;2;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0,0,0,0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.RangedFloatNode;2;-2286.701,-294.265;Inherit;False;Constant;_Float4;Float
|
|
2;13;0;Create;True;0;0;0;False;0;False;50;55;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.RangedFloatNode;7;-641.1248,66.39301;Float;False;Property;_URP_ReflectionFresnelStrength;Fresnel
|
|
Strength;7;0;Create;False;1;;0;0;False;0;False;0.5;0.5;0.001;1;0;1;FLOAT;0\nNode;AmplifyShaderEditor.DynamicAppendNode;5;-355.5013,-274.525;Inherit;False;FLOAT4;4;0;FLOAT3;0,0,0;False;1;FLOAT;0;False;2;FLOAT;0;False;3;FLOAT;0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.NegateNode;12;-1666.182,-248.8441;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SwitchByFaceNode;9;314.5994,-296.278;Inherit;False;2;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0,0,0,0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.RangedFloatNode;28;-890.6381,-83.50226;Float;False;Property;_URP_ReflectionCloud;Reflection
|
|
Cloud;1;0;Create;False;1;;0;0;False;0;False;0;0.5;0;1;0;1;FLOAT;0\nNode;AmplifyShaderEditor.CustomExpressionNode;8;1321.786,-529.7744;Inherit;False;if(m_switch
|
|
==0)$\treturn m_Off@$else if(m_switch ==1)$\treturn m_Active@$else$return float4(0,0,0,0)@;4;Create;3;True;m_switch;INT;0;In;;Inherit;False;True;m_Off;FLOAT4;0,0,0,0;In;;Inherit;False;True;m_Active;FLOAT4;0,0,0,0;In;;Inherit;False;float4
|
|
switch ;True;False;0;;False;3;0;INT;0;False;1;FLOAT4;0,0,0,0;False;2;FLOAT4;0,0,0,0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.FresnelNode;40;-586.6285,159.01;Inherit;False;Standard;WorldNormal;ViewDir;False;True;5;0;FLOAT3;0,0,1;False;4;FLOAT3;0,0,0;False;1;FLOAT;0;False;2;FLOAT;1;False;3;FLOAT;5;False;1;FLOAT;0\nNode;AmplifyShaderEditor.RangedFloatNode;4;-1304.285,-137.4043;Inherit;False;Property;_URP_ReflectionLOD;Reflection
|
|
Level of Detail;3;0;Create;False;0;0;0;False;0;False;0;0;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.RangedFloatNode;37;843.1783,-243.1589;Float;False;Constant;_Float5;Float
|
|
3;31;0;Create;True;1;;0;0;False;0;False;0;0;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.FunctionInput;32;518.4834,-508.3158;Inherit;False;ALBEDO_IN;4;0;False;1;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.OneMinusNode;25;545.4774,-325.2761;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleMultiplyOpNode;27;710.0244,-408.057;Inherit;False;2;2;0;FLOAT4;0,0,0,0;False;1;FLOAT;0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.RangedFloatNode;16;382.7725,-387.7278;Float;False;Constant;_Float2;Float
|
|
0;12;0;Create;True;1;;0;0;False;0;False;0.5;0;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.StaticSwitch;10;1011.064,-374.4632;Float;False;Property;_Keyword5;Keyword
|
|
3;31;0;Create;True;1;;0;0;True;0;False;0;0;0;False;UNITY_PASS_FORWARDADD;Toggle;2;Key0;Key1;Fetch;False;True;9;1;FLOAT4;0,0,0,0;False;0;FLOAT4;0,0,0,0;False;2;FLOAT4;0,0,0,0;False;3;FLOAT4;0,0,0,0;False;4;FLOAT4;0,0,0,0;False;5;FLOAT4;0,0,0,0;False;6;FLOAT4;0,0,0,0;False;7;FLOAT4;0,0,0,0;False;8;FLOAT4;0,0,0,0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.RangedFloatNode;19;-1661.924,-124.407;Float;False;Property;_URP_ReflectionWobble;Reflection
|
|
Wobble;2;0;Create;False;1;;0;0;False;0;False;0;0;0;0.1;0;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleMultiplyOpNode;26;709.1215,-320.6031;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT4;0,0,0,0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.IntNode;29;1155.04,-568.7955;Inherit;False;Property;_URP_ReflectionMode;Mode;0;2;[Header];[Enum];Create;False;1;REFLECTION
|
|
PROBE;2;Off;0;Active;1;0;False;0;False;0;0;False;0;1;INT;0\nNode;AmplifyShaderEditor.ReflectionProbeNode;21;-996.2211,-272.8157;Inherit;False;3;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,0;False;2;FLOAT;0;False;1;FLOAT3;0\nNode;AmplifyShaderEditor.FunctionOutput;42;1534.107,-530.4998;Inherit;False;True;-1;ALBEDO_OUT;0;False;1;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0\nWireConnection;3;0;30;0\nWireConnection;3;1;17;0\nWireConnection;38;0;21;0\nWireConnection;38;1;36;0\nWireConnection;38;2;28;0\nWireConnection;23;1;5;0\nWireConnection;23;2;39;0\nWireConnection;39;0;7;0\nWireConnection;39;1;40;0\nWireConnection;13;0;31;0\nWireConnection;13;1;2;0\nWireConnection;15;0;11;0\nWireConnection;15;1;19;0\nWireConnection;24;0;22;0\nWireConnection;24;1;5;0\nWireConnection;24;2;23;0\nWireConnection;30;0;13;0\nWireConnection;11;0;3;0\nWireConnection;11;1;12;0\nWireConnection;11;2;18;0\nWireConnection;36;0;21;0\nWireConnection;33;0;26;0\nWireConnection;33;1;27;0\nWireConnection;5;0;38;0\nWireConnection;12;0;18;0\nWireConnection;9;0;24;0\nWireConnection;8;0;29;0\nWireConnection;8;1;32;0\nWireConnection;8;2;10;0\nWireConnection;40;1;6;0\nWireConnection;40;2;14;0\nWireConnection;25;0;16;0\nWireConnection;27;0;32;0\nWireConnection;27;1;16;0\nWireConnection;10;1;33;0\nWireConnection;10;0;37;0\nWireConnection;26;0;25;0\nWireConnection;26;1;9;0\nWireConnection;21;0;20;0\nWireConnection;21;1;15;0\nWireConnection;21;2;4;0\nWireConnection;42;0;8;0\nASEEND*/\n//CHKSM=B6CFA9F349181BC37B0B65F5311BEB46B74F629C"
|
|
m_functionName:
|
|
m_description: 'URP reflection probe
|
|
|
|
Provides access to the nearest reflection
|
|
probe to the object
|
|
|
|
Created by Dawie http://deenvironment.com/'
|
|
m_additionalIncludes:
|
|
m_additionalIncludes: []
|
|
m_outsideIncludes: []
|
|
m_additionalPragmas:
|
|
m_additionalPragmas: []
|
|
m_outsidePragmas: []
|
|
m_additionalDirectives:
|
|
m_validData: 0
|
|
m_isDirty: 0
|
|
m_moduleName: ' Additional Directives'
|
|
m_independentModule: 1
|
|
m_customEdited: 0
|
|
m_additionalDirectives: []
|
|
m_shaderFunctionDirectives: []
|
|
m_nativeDirectives: []
|
|
m_nativeDirectivesIndex: -1
|
|
m_nativeDirectivesFoldout: 0
|
|
m_directivesSaveItems: []
|
|
m_nodeCategory: 9
|
|
m_customNodeCategory:
|
|
m_previewPosition: 0
|
|
m_hidden: 0
|