2
0

model_lit.material 722 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. name: "model"
  2. tags: "model"
  3. vertex_program: "/example/materials/model_lit.vp"
  4. fragment_program: "/example/materials/model_lit.fp"
  5. vertex_space: VERTEX_SPACE_LOCAL
  6. vertex_constants {
  7. name: "mtx_view"
  8. type: CONSTANT_TYPE_VIEW
  9. }
  10. vertex_constants {
  11. name: "mtx_proj"
  12. type: CONSTANT_TYPE_PROJECTION
  13. }
  14. vertex_constants {
  15. name: "light"
  16. type: CONSTANT_TYPE_USER
  17. value {
  18. x: 10.0
  19. y: 10.0
  20. z: -10.0
  21. w: 1.0
  22. }
  23. }
  24. fragment_constants {
  25. name: "tint"
  26. type: CONSTANT_TYPE_USER
  27. value {
  28. x: 1.0
  29. y: 1.0
  30. z: 1.0
  31. w: 1.0
  32. }
  33. }
  34. samplers {
  35. name: "tex0"
  36. wrap_u: WRAP_MODE_CLAMP_TO_EDGE
  37. wrap_v: WRAP_MODE_CLAMP_TO_EDGE
  38. filter_min: FILTER_MODE_MIN_LINEAR
  39. filter_mag: FILTER_MODE_MAG_LINEAR
  40. }