PerturbNormal.asset 3.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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: PerturbNormal
  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.BreakToComponentsNode;27;760.8596,55.21472;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.SimpleMultiplyOpNode;24;567.4818,-78.97424;Inherit;False;2;2;0;FLOAT3x3;0,0,0,0,1,0,0,0,1;False;1;FLOAT3;0,0,0;False;1;FLOAT3;0\nNode;AmplifyShaderEditor.FunctionNode;31;80,-272;Inherit;False;CotangentFrame;-1;;7;62ce0f00f1417804bb4f2b38501ba0d0;0;3;4;FLOAT3;0,0,0;False;2;FLOAT3;0,0,0;False;1;FLOAT2;0,0;False;1;FLOAT3x3;5\nNode;AmplifyShaderEditor.FunctionInput;6;-160,48;Inherit;False;Normal;3;0;False;1;0;FLOAT3;0,0,0;False;1;FLOAT3;0\nNode;AmplifyShaderEditor.WorldNormalVector;13;-176,-400;Inherit;False;True;1;0;FLOAT3;0,0,0;False;4;FLOAT3;0;FLOAT;1;FLOAT;2;FLOAT;3\nNode;AmplifyShaderEditor.NormalizeNode;8;64,112;Inherit;False;False;1;0;FLOAT3;0,0,0;False;1;FLOAT3;0\nNode;AmplifyShaderEditor.ViewDirInputsCoordNode;12;-160,-256;Float;False;World;False;0;4;FLOAT3;0;FLOAT;1;FLOAT;2;FLOAT;3\nNode;AmplifyShaderEditor.TexCoordVertexDataNode;11;-176,-96;Inherit;False;0;2;0;5;FLOAT2;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4\nNode;AmplifyShaderEditor.FunctionSwitch;26;256,48;Inherit;False;Normalize;True;0;2;-1;In
  17. 0;In 1;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.FunctionOutput;29;1040,80;Inherit;False;False;-1;Y;2;False;1;0;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.FunctionOutput;28;1040,0;Inherit;False;False;-1;X;1;False;1;0;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.FunctionOutput;9;1040,-80;Inherit;False;True;-1;XYZ;0;False;1;0;FLOAT3;0,0,0;False;1;FLOAT3;0\nNode;AmplifyShaderEditor.FunctionOutput;30;1040,160;Inherit;False;False;-1;Z;3;False;1;0;FLOAT;0;False;1;FLOAT;0\nWireConnection;27;0;24;0\nWireConnection;24;0;31;5\nWireConnection;24;1;26;0\nWireConnection;31;4;13;0\nWireConnection;31;2;12;0\nWireConnection;31;1;11;0\nWireConnection;8;0;6;0\nWireConnection;26;0;6;0\nWireConnection;26;1;8;0\nWireConnection;29;0;27;1\nWireConnection;28;0;27;0\nWireConnection;9;0;24;0\nWireConnection;30;0;27;2\nASEEND*/\n//CHKSM=25C23A7BE3DA9F9ED501E120E479371F9CE2843E"
  18. m_functionName:
  19. m_description: 'Perturbing normals without Precomputed Tangents
  20. http://www.thetenthplanet.de/archives/1180'
  21. m_additionalIncludes:
  22. m_additionalIncludes: []
  23. m_outsideIncludes: []
  24. m_additionalPragmas:
  25. m_additionalPragmas: []
  26. m_outsidePragmas: []
  27. m_additionalDirectives:
  28. m_validData: 0
  29. m_isDirty: 0
  30. m_moduleName: ' Additional Directives'
  31. m_independentModule: 1
  32. m_customEdited: 0
  33. m_additionalDirectives: []
  34. m_shaderFunctionDirectives: []
  35. m_nativeDirectives: []
  36. m_nativeDirectivesIndex: -1
  37. m_nativeDirectivesFoldout: 0
  38. m_directivesSaveItems: []
  39. m_nodeCategory: 3
  40. m_headerStyle: 1
  41. m_headerColor: {r: 1, g: 0.4, b: 0, a: 1}
  42. m_customNodeCategory:
  43. m_previewPosition: 0
  44. m_hidden: 0
  45. m_url: