physics.material 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. material colored
  2. {
  3. technique
  4. {
  5. pass
  6. {
  7. vertexShader = res/shaders/colored.vert
  8. fragmentShader = res/shaders/colored.frag
  9. u_worldViewProjectionMatrix = WORLD_VIEW_PROJECTION_MATRIX
  10. u_inverseTransposeWorldViewMatrix = INVERSE_TRANSPOSE_WORLD_VIEW_MATRIX
  11. renderState
  12. {
  13. cullFace = true
  14. depthTest = true
  15. }
  16. }
  17. }
  18. }
  19. material floor : colored
  20. {
  21. technique
  22. {
  23. pass
  24. {
  25. u_diffuseColor = 0.5, 0.5, 0.5, 1
  26. }
  27. }
  28. }
  29. material green : colored
  30. {
  31. technique
  32. {
  33. pass
  34. {
  35. u_diffuseColor = 0.1, 0.6, 0.1, 1
  36. }
  37. }
  38. }
  39. material blue : colored
  40. {
  41. technique
  42. {
  43. pass
  44. {
  45. u_diffuseColor = 0, 0, 1, 1
  46. }
  47. }
  48. }
  49. material red : colored
  50. {
  51. technique
  52. {
  53. pass
  54. {
  55. u_diffuseColor = 1, 0, 0, 1
  56. }
  57. }
  58. }