model_instanced_floor.material 831 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. name: "model_instanced"
  2. tags: "model"
  3. vertex_program: "/example/materials/model_instanced_floor.vp"
  4. fragment_program: "/example/materials/model_instanced_floor.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. vertex_constants {
  25. name: "zoom"
  26. type: CONSTANT_TYPE_USER
  27. value {
  28. x: 20.0
  29. }
  30. }
  31. fragment_constants {
  32. name: "tint"
  33. type: CONSTANT_TYPE_USER
  34. value {
  35. x: 1.0
  36. y: 1.0
  37. z: 1.0
  38. w: 1.0
  39. }
  40. }
  41. samplers {
  42. name: "tex0"
  43. wrap_u: WRAP_MODE_REPEAT
  44. wrap_v: WRAP_MODE_REPEAT
  45. filter_min: FILTER_MODE_MIN_LINEAR
  46. filter_mag: FILTER_MODE_MAG_LINEAR
  47. }