66 lines
12 KiB
Plaintext
66 lines
12 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: _Wind
|
|
m_EditorClassIdentifier:
|
|
m_functionInfo: "// Made with Amplify Shader Editor\n// Available at the Unity
|
|
Asset Store - http://u3d.as/y3X \n/*ASEBEGIN\nVersion=18935\n168;110;1863;874;3465.996;2004.183;1.413795;True;False\nNode;AmplifyShaderEditor.SimpleAddOpNode;28;1198.205,-325.3388;Inherit;False;2;2;0;FLOAT2;0,0;False;1;FLOAT2;0,0;False;1;FLOAT2;0\nNode;AmplifyShaderEditor.RangedFloatNode;114;-2266.007,-1194.148;Inherit;False;Property;_WindNoiseScale;Wind:
|
|
Noise Scale;6;0;Create;True;0;0;0;False;0;False;0.1;0;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.RangedFloatNode;104;-2267.742,-1343.776;Inherit;False;Global;WindNoiseScale;Wind
|
|
Noise Scale;6;0;Create;True;0;0;0;False;0;False;0;0.1;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.RangedFloatNode;52;-1014.226,-982.1215;Inherit;False;Global;WindMinIntensity;Wind
|
|
Min Intensity;7;0;Create;True;0;0;0;False;0;False;0;-0.5;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleAddOpNode;110;-1080.599,-1143.553;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0.5;False;1;FLOAT;0\nNode;AmplifyShaderEditor.StaticSwitch;123;-825.8898,-1261.895;Inherit;False;Property;_WindHighQualityNoise;Wind:
|
|
High Quality Noise;10;0;Create;True;0;0;0;False;0;False;0;0;0;True;;Toggle;2;Key0;Key1;Create;True;True;All;9;1;FLOAT;0;False;0;FLOAT;0;False;2;FLOAT;0;False;3;FLOAT;0;False;4;FLOAT;0;False;5;FLOAT;0;False;6;FLOAT;0;False;7;FLOAT;0;False;8;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.RangedFloatNode;25;562.5273,-789.9149;Inherit;False;Property;_WindSquishFactor;Wind:
|
|
Squish Factor;3;0;Create;True;0;0;0;False;0;False;0.3;0;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleAddOpNode;69;502.2408,-1019.491;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.NegateNode;31;93.11021,-686.136;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.RangedFloatNode;120;-1049.019,-696.3245;Inherit;False;Property;_WindMaxIntensity;Wind:
|
|
Max Intensity;9;0;Create;True;0;0;0;False;0;False;0.4;0;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleMultiplyOpNode;96;-1642.292,-1240.988;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleAddOpNode;39;241.8686,-56.43789;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.FunctionInput;127;-2111.859,-977.1069;Inherit;False;Time;1;0;False;1;0;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleAddOpNode;58;33.00472,-948.7859;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.RangedFloatNode;57;-1049.587,-788.3782;Inherit;False;Global;WindMaxIntensity;Wind
|
|
Max Intensity;7;0;Create;True;0;0;0;False;0;False;0;0.5;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.RangedFloatNode;119;-1041.019,-887.3245;Inherit;False;Property;_WindMinIntensity;Wind:
|
|
Min Intensity;8;0;Create;True;0;0;0;False;0;False;-0.4;0;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleMultiplyOpNode;24;820.1325,-608.6891;Inherit;False;3;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.RangedFloatNode;124;-2012.253,-1086.397;Inherit;False;Global;WindTime;WindTime;6;0;Create;True;0;0;0;False;0;False;0;57.90094;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleMinOpNode;63;649.5712,-592.0115;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.BreakToComponentsNode;22;-90.27209,-70.04666;Inherit;False;FLOAT2;1;0;FLOAT2;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.DynamicAppendNode;43;1264.112,-27.62277;Inherit;False;FLOAT3;4;0;FLOAT;0.5;False;1;FLOAT;0;False;2;FLOAT;0;False;3;FLOAT;0;False;1;FLOAT3;0\nNode;AmplifyShaderEditor.WorldToObjectTransfNode;62;-2165.683,-1888.866;Inherit;False;1;0;FLOAT4;0,0,0,1;False;5;FLOAT4;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4\nNode;AmplifyShaderEditor.RangedFloatNode;30;-154.9216,-614.0399;Inherit;False;Property;_WindMaxRotation;Wind:
|
|
Max Rotation;1;0;Create;True;0;0;0;False;0;False;2;2;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleMultiplyOpNode;66;329.7306,-1202.074;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.RangedFloatNode;64;-467.7397,-1273.504;Inherit;False;Property;_WindRotationWindFactor;Wind:
|
|
Rotation Wind Factor;2;0;Create;True;0;0;0;False;0;False;1;1;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.RangedFloatNode;112;-2159.697,-1691.114;Inherit;False;Property;_WindXPosition;Wind:
|
|
X Position;12;0;Create;True;0;0;0;False;0;False;0;0;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.AbsOpNode;26;266.0923,-877.1196;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.RangedFloatNode;20;-221.4829,-854.329;Inherit;False;Property;_WindRotation;Wind:
|
|
Rotation;0;0;Create;True;0;0;0;False;0;False;0;0;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.ClampOpNode;29;292.5209,-732.7809;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;1;False;1;FLOAT;0\nNode;AmplifyShaderEditor.CustomExpressionNode;101;-1256.362,-1151.966;Inherit;False;float
|
|
i = floor(x)@$float f = frac(x)@$float s = sign(frac(x/2.0)-0.5)@$ $float
|
|
k = 0.5+0.5*sin(i)@$$return s*f*(f-1.0)*((16.0*k-4.0)*f*(f-1.0)-1.0)@;1;Create;1;True;x;FLOAT;0;In;;Inherit;False;FastNoise;True;False;0;;False;1;0;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.RangedFloatNode;67;35.19301,-1288.164;Inherit;False;Property;_WindSquishWindFactor;Wind:
|
|
Squish Wind Factor;4;0;Create;True;0;0;0;False;0;False;0;0;0;1;0;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleMultiplyOpNode;21;523.838,-467.6346;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleAddOpNode;50;-1469.61,-1137.811;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.NegateNode;41;864.5392,249.843;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.LerpOp;86;-345.1475,-1096.925;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.RangedFloatNode;40;5.824899,91.73247;Inherit;False;Property;_WindFlip;Wind:
|
|
Flip;13;0;Create;True;0;0;0;False;0;False;0;0;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.AbsOpNode;68;197.7756,-1091.496;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.ComponentMaskNode;97;1896.515,-398.1299;Inherit;False;True;True;False;True;1;0;FLOAT3;0,0,0;False;1;FLOAT2;0\nNode;AmplifyShaderEditor.SimpleMultiplyOpNode;128;-1954.859,-955.1069;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.FunctionInput;1;-284.8799,-193.5995;Inherit;False;In
|
|
UV;2;1;False;1;0;FLOAT2;0,0;False;1;FLOAT2;0\nNode;AmplifyShaderEditor.SimpleMultiplyOpNode;65;-144.0398,-1207.204;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.DynamicAppendNode;27;1016.292,-568.3734;Inherit;False;FLOAT2;4;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;3;FLOAT;0;False;1;FLOAT2;0\nNode;AmplifyShaderEditor.StaticSwitch;111;-1941.911,-1784.253;Inherit;False;Property;_WindIsParallax;Wind:
|
|
Is Parallax;11;0;Create;True;0;0;0;False;0;False;0;0;0;True;;Toggle;2;Key0;Key1;Create;True;True;All;9;1;FLOAT;0;False;0;FLOAT;0;False;2;FLOAT;0;False;3;FLOAT;0;False;4;FLOAT;0;False;5;FLOAT;0;False;6;FLOAT;0;False;7;FLOAT;0;False;8;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.StaticSwitch;125;-1772.744,-1016.278;Inherit;False;Property;_WindLocalWind4;Wind:
|
|
Local Wind;9;0;Create;True;0;0;0;False;0;False;0;0;0;True;;Toggle;2;Key0;Key1;Reference;113;True;True;All;9;1;FLOAT;0;False;0;FLOAT;0;False;2;FLOAT;0;False;3;FLOAT;0;False;4;FLOAT;0;False;5;FLOAT;0;False;6;FLOAT;0;False;7;FLOAT;0;False;8;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.StaticSwitch;113;-2047.762,-1277.498;Inherit;False;Property;_WindLocalWind;Wind:
|
|
Local Wind;5;0;Create;True;0;0;0;False;0;False;0;0;0;True;;Toggle;2;Key0;Key1;Create;True;True;All;9;1;FLOAT;0;False;0;FLOAT;0;False;2;FLOAT;0;False;3;FLOAT;0;False;4;FLOAT;0;False;5;FLOAT;0;False;6;FLOAT;0;False;7;FLOAT;0;False;8;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.StaticSwitch;117;-716.0215,-978.7976;Inherit;False;Property;_WindLocalWind2;Wind:
|
|
Local Wind;6;0;Create;True;0;0;0;False;0;False;0;0;0;True;;Toggle;2;Key0;Key1;Reference;113;True;True;All;9;1;FLOAT;0;False;0;FLOAT;0;False;2;FLOAT;0;False;3;FLOAT;0;False;4;FLOAT;0;False;5;FLOAT;0;False;6;FLOAT;0;False;7;FLOAT;0;False;8;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.StaticSwitch;118;-719.1859,-830.812;Inherit;False;Property;_WindLocalWind3;Wind:
|
|
Local Wind;7;0;Create;True;0;0;0;False;0;False;0;0;0;True;;Toggle;2;Key0;Key1;Reference;113;True;True;All;9;1;FLOAT;0;False;0;FLOAT;0;False;2;FLOAT;0;False;3;FLOAT;0;False;4;FLOAT;0;False;5;FLOAT;0;False;6;FLOAT;0;False;7;FLOAT;0;False;8;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.RangedFloatNode;126;-2185.047,-859.3783;Inherit;False;Property;_WindNoiseSpeed;Wind:
|
|
Noise Speed;7;0;Create;True;0;0;0;False;0;False;1;0;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.NoiseGeneratorNode;121;-1111.809,-1412.605;Inherit;False;Simplex2D;True;False;2;0;FLOAT2;0,0;False;1;FLOAT;0.5;False;1;FLOAT;0\nNode;AmplifyShaderEditor.RotateAboutAxisNode;19;1435.434,-467.8332;Inherit;False;False;4;0;FLOAT3;0,0,1;False;1;FLOAT;0;False;2;FLOAT3;0.5,0,0;False;3;FLOAT3;0,0,0;False;1;FLOAT3;0\nNode;AmplifyShaderEditor.FunctionOutput;0;2213.569,-415.1493;Inherit;False;True;-1;Out
|
|
UV;0;False;1;0;FLOAT2;0,0;False;1;FLOAT2;0\nWireConnection;28;0;27;0\nWireConnection;28;1;1;0\nWireConnection;110;0;101;0\nWireConnection;123;1;110;0\nWireConnection;123;0;121;0\nWireConnection;69;0;66;0\nWireConnection;69;1;26;0\nWireConnection;31;0;30;0\nWireConnection;96;0;111;0\nWireConnection;96;1;113;0\nWireConnection;39;0;22;1\nWireConnection;39;1;40;0\nWireConnection;58;0;65;0\nWireConnection;58;1;20;0\nWireConnection;24;0;25;0\nWireConnection;24;1;63;0\nWireConnection;24;2;39;0\nWireConnection;63;0;69;0\nWireConnection;63;1;30;0\nWireConnection;22;0;1;0\nWireConnection;43;1;41;0\nWireConnection;66;0;67;0\nWireConnection;66;1;68;0\nWireConnection;26;0;20;0\nWireConnection;29;0;58;0\nWireConnection;29;1;31;0\nWireConnection;29;2;30;0\nWireConnection;101;0;50;0\nWireConnection;21;0;29;0\nWireConnection;21;1;39;0\nWireConnection;50;0;96;0\nWireConnection;50;1;125;0\nWireConnection;41;0;40;0\nWireConnection;86;0;117;0\nWireConnection;86;1;118;0\nWireConnection;86;2;123;0\nWireConnection;68;0;86;0\nWireConnection;97;0;19;0\nWireConnection;128;0;127;0\nWireConnection;128;1;126;0\nWireConnection;65;0;64;0\nWireConnection;65;1;86;0\nWireConnection;27;1;24;0\nWireConnection;111;1;62;1\nWireConnection;111;0;112;0\nWireConnection;125;1;124;0\nWireConnection;125;0;128;0\nWireConnection;113;1;104;0\nWireConnection;113;0;114;0\nWireConnection;117;1;52;0\nWireConnection;117;0;119;0\nWireConnection;118;1;57;0\nWireConnection;118;0;120;0\nWireConnection;121;0;50;0\nWireConnection;19;1;21;0\nWireConnection;19;2;43;0\nWireConnection;19;3;28;0\nWireConnection;0;0;97;0\nASEEND*/\n//CHKSM=51E00AFAB630558238EBDB9C58CD9D77F86FE13E"
|
|
m_functionName:
|
|
m_description:
|
|
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: 3
|
|
m_customNodeCategory:
|
|
m_previewPosition: 0
|
|
m_hidden: 0
|
|
m_url:
|