12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- %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: Custom Screen Position
- m_EditorClassIdentifier:
- m_functionInfo: "// Made with Amplify Shader Editor v1.9.1\n// Available at the
- Unity Asset Store - http://u3d.as/y3X \n/*ASEBEGIN\nVersion=19100\nNode;AmplifyShaderEditor.FunctionInput;6;-817,-18;Inherit;False;Vector
- Position;3;0;False;1;0;FLOAT3;0,0,0;False;1;FLOAT3;0\nNode;AmplifyShaderEditor.PosVertexDataNode;1;-1032,-372;Inherit;False;0;0;5;FLOAT3;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4\nNode;AmplifyShaderEditor.FunctionInput;3;-1003,-188;Inherit;False;Vector
- Offset;3;1;False;1;0;FLOAT3;0,0,0;False;1;FLOAT3;0\nNode;AmplifyShaderEditor.FunctionSwitch;9;-305,-179;Inherit;False;Vertex
- Mode;False;0;2;-1;Offset;Absolute;Object;-1;9;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,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;FLOAT3;0\nNode;AmplifyShaderEditor.RangedFloatNode;14;-242,-41;Inherit;False;Constant;_Float0;Float
- 0;0;0;Create;True;0;0;0;False;0;False;1;0;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.DynamicAppendNode;13;-43,-173;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.SimpleAddOpNode;4;-727,-313;Inherit;False;2;2;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,0;False;1;FLOAT3;0\nNode;AmplifyShaderEditor.ComputeScreenPosHlpNode;10;169,-236;Inherit;False;False;1;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.ComputeGrabScreenPosHlpNode;11;159,-22;Inherit;False;1;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.TransformPositionNode;7;-543,-325;Inherit;False;Object;Clip;True;Fast;True;1;0;FLOAT3;0,0,0;False;4;FLOAT3;0;FLOAT;1;FLOAT;2;FLOAT;3\nNode;AmplifyShaderEditor.TransformPositionNode;8;-570,-35;Inherit;False;Object;Clip;True;Fast;True;1;0;FLOAT3;0,0,0;False;4;FLOAT3;0;FLOAT;1;FLOAT;2;FLOAT;3\nNode;AmplifyShaderEditor.FunctionSwitch;12;460,-127;Inherit;False;Is
- Grab Op;False;0;2;-1;Off;On;Object;-1;9;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0,0,0,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;FLOAT4;0\nNode;AmplifyShaderEditor.FunctionSwitchByPipeline;15;700.5,-278;Inherit;False;4;0;FLOAT4;0,0,0,0;False;3;FLOAT4;0,0,0,0;False;1;FLOAT4;0,0,0,0;False;2;FLOAT4;0,0,0,0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.FunctionOutput;0;915,-284;Inherit;False;True;-1;Output;0;False;1;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0\nWireConnection;9;0;7;0\nWireConnection;9;1;8;0\nWireConnection;13;0;9;0\nWireConnection;13;3;14;0\nWireConnection;4;0;1;0\nWireConnection;4;1;3;0\nWireConnection;10;0;13;0\nWireConnection;11;0;13;0\nWireConnection;7;0;4;0\nWireConnection;8;0;6;0\nWireConnection;12;0;10;0\nWireConnection;12;1;11;0\nWireConnection;15;0;12;0\nWireConnection;15;3;12;0\nWireConnection;15;1;10;0\nWireConnection;15;2;10;0\nWireConnection;0;0;15;0\nASEEND*/\n//CHKSM=4B192044A7388F4731BAFE9A84EDD3E8EB6A039C"
- m_functionName:
- m_description: 'Compute custom screen position. Can either set the final vertex
- value or a vertex offset via the Vertex Mode.
- Is Grab option only used on
- Builtin pipeline when screen position is to be used on Grab Screen Color fetch.'
- 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_headerStyle: 1
- m_headerColor: {r: 1, g: 0.4, b: 0, a: 1}
- m_customNodeCategory:
- m_previewPosition: 0
- m_hidden: 0
- m_url:
|