Normal Reconstruct Z.asset 3.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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: Normal Reconstruct Z
  14. m_EditorClassIdentifier:
  15. m_functionInfo: "// Made with Amplify Shader Editor v1.9.7\n// Available at the
  16. Unity Asset Store - http://u3d.as/y3X \n/*ASEBEGIN\nVersion=19700\nNode;AmplifyShaderEditor.BreakToComponentsNode;13;-544,-240;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.DotProductOpNode;4;-544,-144;Inherit;False;2;0;FLOAT2;0,0;False;1;FLOAT2;0,0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.DynamicAppendNode;10;96,-240;Inherit;False;FLOAT3;4;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;3;FLOAT;0;False;1;FLOAT3;0\nNode;AmplifyShaderEditor.SaturateNode;6;-400,-144;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.OneMinusNode;7;-240,-144;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SqrtOpNode;8;-80,-144;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.FunctionInput;1;-768,-240;Inherit;False;Input;2;0;False;1;0;FLOAT2;0,0;False;1;FLOAT2;0\nNode;AmplifyShaderEditor.NormalizeNode;12;288,-160;Inherit;False;False;1;0;FLOAT3;0,0,0;False;1;FLOAT3;0\nNode;AmplifyShaderEditor.FunctionSwitch;15;464,-240;Inherit;False;Normalize;True;1;2;-1;In
  17. 0;In 1;Object;-1;10;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;9;FLOAT;0;False;1;FLOAT3;0\nNode;AmplifyShaderEditor.FunctionOutput;0;704,-240;Inherit;False;True;-1;Output;0;False;1;0;FLOAT3;0,0,0;False;1;FLOAT3;0\nWireConnection;13;0;1;0\nWireConnection;4;0;1;0\nWireConnection;4;1;1;0\nWireConnection;10;0;13;0\nWireConnection;10;1;13;1\nWireConnection;10;2;8;0\nWireConnection;6;0;4;0\nWireConnection;7;0;6;0\nWireConnection;8;0;7;0\nWireConnection;12;0;10;0\nWireConnection;15;0;10;0\nWireConnection;15;1;12;0\nWireConnection;0;0;15;0\nASEEND*/\n//CHKSM=4D0C79E91ACFB279701476682DAC3DCFC05E37D9"
  18. m_functionName:
  19. m_description: 'Gets the correct Z value for generated normal maps using a given
  20. X and Y value from input.
  21. '
  22. m_additionalIncludes:
  23. m_additionalIncludes: []
  24. m_outsideIncludes: []
  25. m_additionalPragmas:
  26. m_additionalPragmas: []
  27. m_outsidePragmas: []
  28. m_additionalDirectives:
  29. m_validData: 0
  30. m_isDirty: 0
  31. m_moduleName: ' Additional Directives'
  32. m_independentModule: 1
  33. m_customEdited: 0
  34. m_additionalDirectives: []
  35. m_shaderFunctionDirectives: []
  36. m_nativeDirectives: []
  37. m_nativeDirectivesIndex: -1
  38. m_nativeDirectivesFoldout: 0
  39. m_directivesSaveItems: []
  40. m_nodeCategory: 14
  41. m_headerStyle: 1
  42. m_headerColor: {r: 1, g: 0.4, b: 0, a: 1}
  43. m_customNodeCategory:
  44. m_previewPosition: 0
  45. m_hidden: 0
  46. m_url: