vertexcolor.material 468 B

123456789101112131415161718192021222324
  1. name: "sprite"
  2. tags: "tile"
  3. vertex_program: "/example/vertexcolor.vp"
  4. fragment_program: "/example/vertexcolor.fp"
  5. vertex_constants {
  6. name: "view_proj"
  7. type: CONSTANT_TYPE_VIEWPROJ
  8. }
  9. samplers {
  10. name: "texture_sampler"
  11. wrap_u: WRAP_MODE_CLAMP_TO_EDGE
  12. wrap_v: WRAP_MODE_CLAMP_TO_EDGE
  13. filter_min: FILTER_MODE_MIN_DEFAULT
  14. filter_mag: FILTER_MODE_MAG_DEFAULT
  15. }
  16. attributes {
  17. name: "mycolor"
  18. double_values {
  19. v: 1.0
  20. v: 1.0
  21. v: 1.0
  22. v: 1.0
  23. }
  24. }