Custom Screen Position.asset 4.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. %YAML 1.1
  2. %TAG !u! tag:unity3d.com,2011:
  3. --- !u!114 &11400000
  4. MonoBehaviour:
  5. m_ObjectHideFlags: 0
  6. m_CorrespondingSourceObject: {fileID: 0}
  7. m_PrefabInstance: {fileID: 0}
  8. m_PrefabAsset: {fileID: 0}
  9. m_GameObject: {fileID: 0}
  10. m_Enabled: 1
  11. m_EditorHideFlags: 0
  12. m_Script: {fileID: 11500000, guid: 78b2425a2284af743826c689403a4924, type: 3}
  13. m_Name: Custom Screen Position
  14. m_EditorClassIdentifier:
  15. m_functionInfo: "// Made with Amplify Shader Editor v1.9.1\n// Available at the
  16. Unity Asset Store - http://u3d.as/y3X \n/*ASEBEGIN\nVersion=19100\nNode;AmplifyShaderEditor.FunctionInput;6;-817,-18;Inherit;False;Vector
  17. 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
  18. Offset;3;1;False;1;0;FLOAT3;0,0,0;False;1;FLOAT3;0\nNode;AmplifyShaderEditor.FunctionSwitch;9;-305,-179;Inherit;False;Vertex
  19. 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
  20. 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
  21. 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"
  22. m_functionName:
  23. m_description: 'Compute custom screen position. Can either set the final vertex
  24. value or a vertex offset via the Vertex Mode.
  25. Is Grab option only used on
  26. Builtin pipeline when screen position is to be used on Grab Screen Color fetch.'
  27. m_additionalIncludes:
  28. m_additionalIncludes: []
  29. m_outsideIncludes: []
  30. m_additionalPragmas:
  31. m_additionalPragmas: []
  32. m_outsidePragmas: []
  33. m_additionalDirectives:
  34. m_validData: 0
  35. m_isDirty: 0
  36. m_moduleName: ' Additional Directives'
  37. m_independentModule: 1
  38. m_customEdited: 0
  39. m_additionalDirectives: []
  40. m_shaderFunctionDirectives: []
  41. m_nativeDirectives: []
  42. m_nativeDirectivesIndex: -1
  43. m_nativeDirectivesFoldout: 0
  44. m_directivesSaveItems: []
  45. m_nodeCategory: 3
  46. m_headerStyle: 1
  47. m_headerColor: {r: 1, g: 0.4, b: 0, a: 1}
  48. m_customNodeCategory:
  49. m_previewPosition: 0
  50. m_hidden: 0
  51. m_url: