Lambert Light.asset 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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: Lambert Light
  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.ColorNode;26;353.1547,189.0958;Float;False;Property;_MainColor;Main
  17. Color;0;0;Create;True;0;0;0;False;0;False;0.3921569,0.3921569,0.3921569,1;0,0,0,0;False;0;5;COLOR;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4\nNode;AmplifyShaderEditor.ComponentMaskNode;47;769.1547,93.09583;Inherit;False;True;True;True;False;1;0;COLOR;0,0,0,0;False;1;FLOAT3;0\nNode;AmplifyShaderEditor.WireNode;55;-518.842,331.2534;Inherit;False;1;0;FLOAT3;0,0,0;False;1;FLOAT3;0\nNode;AmplifyShaderEditor.SimpleAddOpNode;37;609.1547,-34.90417;Inherit;False;2;2;0;COLOR;0,0,0,0;False;1;FLOAT3;0,0,0;False;1;COLOR;0\nNode;AmplifyShaderEditor.IndirectDiffuseLighting;34;337.1547,77.09583;Inherit;False;World;1;0;FLOAT3;0,0,0;False;1;FLOAT3;0\nNode;AmplifyShaderEditor.NormalizeNode;64;-756.0648,26.14728;Inherit;False;False;1;0;FLOAT3;0,0,0;False;1;FLOAT3;0\nNode;AmplifyShaderEditor.WorldNormalVector;12;-981.062,27.14728;Inherit;False;False;1;0;FLOAT3;0,0,0;False;4;FLOAT3;0;FLOAT;1;FLOAT;2;FLOAT;3\nNode;AmplifyShaderEditor.FunctionInput;52;-1135.06,25.84728;Inherit;False;Normal;3;1;False;1;0;FLOAT3;0,0,0;False;1;FLOAT3;0\nNode;AmplifyShaderEditor.SimpleMultiplyOpNode;38;1009.155,-34.90417;Inherit;False;2;2;0;COLOR;0,0,0,0;False;1;FLOAT3;0,0,0;False;1;COLOR;0\nNode;AmplifyShaderEditor.Vector3Node;53;-1317.06,27.14728;Float;False;Constant;_DefaultNormal;DefaultNormal;3;0;Create;True;0;0;0;False;0;False;0,0,1;0,0,0;0;4;FLOAT3;0;FLOAT;1;FLOAT;2;FLOAT;3\nNode;AmplifyShaderEditor.FunctionInput;42;625.1547,189.0958;Inherit;False;Diffuse;5;0;False;1;0;COLOR;0,0,0,0;False;1;COLOR;0\nNode;AmplifyShaderEditor.ComponentMaskNode;50;771.7547,190.3958;Inherit;False;False;False;False;True;1;0;COLOR;0,0,0,0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleMultiplyOpNode;40;232.9505,-46.9381;Inherit;False;2;2;0;COLOR;0,0,0,0;False;1;FLOAT;0;False;1;COLOR;0\nNode;AmplifyShaderEditor.WorldSpaceLightDirHlpNode;13;-487.8197,165.9312;Inherit;False;False;1;0;FLOAT;0;False;4;FLOAT3;0;FLOAT;1;FLOAT;2;FLOAT;3\nNode;AmplifyShaderEditor.WireNode;56;165.1989,329.8424;Inherit;False;1;0;FLOAT3;0,0,0;False;1;FLOAT3;0\nNode;AmplifyShaderEditor.LightColorNode;17;14.82559,-84.1315;Inherit;False;0;3;COLOR;0;FLOAT3;1;FLOAT;2\nNode;AmplifyShaderEditor.LightAttenuation;10;-27.48053,45.50479;Inherit;False;0;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleMultiplyOpNode;36;417.1547,-34.90417;Inherit;False;2;2;0;COLOR;0,0,0,0;False;1;FLOAT;0;False;1;COLOR;0\nNode;AmplifyShaderEditor.DotProductOpNode;14;-210.7447,112.9567;Inherit;False;2;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleMaxOpNode;15;-65.18457,141.2409;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.FunctionOutput;0;1329.155,-162.9042;Inherit;False;True;-1;RGB;0;False;1;0;COLOR;0,0,0,0;False;1;COLOR;0\nNode;AmplifyShaderEditor.FunctionOutput;57;1329.155,-82.90417;Inherit;False;True;-1;Alpha;1;False;1;0;FLOAT;0;False;1;FLOAT;0\nWireConnection;47;0;42;0\nWireConnection;55;0;64;0\nWireConnection;37;0;36;0\nWireConnection;37;1;34;0\nWireConnection;34;0;56;0\nWireConnection;64;0;12;0\nWireConnection;12;0;52;0\nWireConnection;52;0;53;0\nWireConnection;38;0;37;0\nWireConnection;38;1;47;0\nWireConnection;42;0;26;0\nWireConnection;50;0;42;0\nWireConnection;40;0;17;0\nWireConnection;40;1;10;0\nWireConnection;56;0;55;0\nWireConnection;36;0;40;0\nWireConnection;36;1;15;0\nWireConnection;14;0;64;0\nWireConnection;14;1;13;0\nWireConnection;15;0;14;0\nWireConnection;0;0;38;0\nWireConnection;57;0;50;0\nASEEND*/\n//CHKSM=CD8CA28620AB3C1D2356F107177B0649496B43F7"
  18. m_functionName:
  19. m_description: Generates a lighting model using Blinn-Phong reflectance model and
  20. closely resembles Unity legacy shaders.
  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: 5
  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: