Half Lambert Term.asset 2.5 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: Half Lambert Term
  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;3;-640,-32;Inherit;False;World
  17. Normal;3;0;False;1;0;FLOAT3;0,0,0;False;1;FLOAT3;0\nNode;AmplifyShaderEditor.ScaleAndOffsetNode;6;-208,0;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;1;False;2;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.WorldSpaceLightDirHlpNode;8;-672,64;Inherit;False;False;1;0;FLOAT;0;False;4;FLOAT3;0;FLOAT;1;FLOAT;2;FLOAT;3\nNode;AmplifyShaderEditor.RangedFloatNode;7;-416,96;Float;False;Constant;_RemapValue;Remap
  18. Value;0;0;Create;True;0;0;0;False;0;False;0.5;0;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.DotProductOpNode;5;-416,0;Inherit;False;2;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.WorldNormalVector;2;-864,-32;Inherit;False;False;1;0;FLOAT3;0,0,0;False;4;FLOAT3;0;FLOAT;1;FLOAT;2;FLOAT;3\nNode;AmplifyShaderEditor.FunctionOutput;0;16,0;Inherit;False;True;-1;Out;0;False;1;0;FLOAT;0;False;1;FLOAT;0\nWireConnection;3;0;2;0\nWireConnection;6;0;5;0\nWireConnection;6;1;7;0\nWireConnection;6;2;7;0\nWireConnection;5;0;3;0\nWireConnection;5;1;8;0\nWireConnection;0;0;6;0\nASEEND*/\n//CHKSM=FCB95E601F540BE750EB79593160439A37BD01EC"
  19. m_functionName:
  20. m_description: Generates a linear gradient from black to white that represents
  21. the surface facing term to a light. Useful for cloth shading, skin or toon ramps.
  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: 11
  41. m_headerStyle: 1
  42. m_headerColor: {r: 1, g: 0.4, b: 0, a: 1}
  43. m_customNodeCategory: Lighting Models
  44. m_previewPosition: 0
  45. m_hidden: 0
  46. m_url: