light-material-example.mtl 836 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <material>
  2. <passes>
  3. <pass>LIGHT</pass>
  4. </passes>
  5. <shaderProgram>
  6. <vertexShader>
  7. <includes>
  8. <include>shaders/SimpleVert.glsl</include>
  9. </includes>
  10. </vertexShader>
  11. <fragmentShader>
  12. <includes>
  13. <include>shaders/IsPointLight.glsl</include>
  14. </includes>
  15. <inputs>
  16. <input>
  17. <name>diffuseColor</name>
  18. <type>vec3</type>
  19. <value><x>1</x><y>2</y><z>3</z></value>
  20. </input>
  21. <input>
  22. <name>specularColor</name>
  23. <type>vec3</type>
  24. <value><x>1</x><y>2</y><z>3</z></value>
  25. </input>
  26. <input>
  27. <name>radius</name>
  28. <type>float</type>
  29. <value><float>1</float></value>
  30. </input>
  31. </inputs>
  32. <operations>
  33. <operation>
  34. <id>0</id>
  35. <function>do</function>
  36. </operation>
  37. </operations>
  38. </fragmentShader>
  39. </shaderProgram>
  40. </material>