multi_sample_sprite.material 776 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. name: "sprite"
  2. tags: "tile"
  3. vertex_program: "/builtins/materials/sprite.vp"
  4. fragment_program: "/example/multi_sample_sprite.fp"
  5. vertex_constants {
  6. name: "view_proj"
  7. type: CONSTANT_TYPE_VIEWPROJ
  8. }
  9. fragment_constants {
  10. name: "tint"
  11. type: CONSTANT_TYPE_USER
  12. value {
  13. x: 1.0
  14. y: 1.0
  15. z: 1.0
  16. w: 1.0
  17. }
  18. }
  19. fragment_constants {
  20. name: "mix_amount"
  21. type: CONSTANT_TYPE_USER
  22. value {
  23. }
  24. }
  25. samplers {
  26. name: "texture1_sampler"
  27. wrap_u: WRAP_MODE_CLAMP_TO_EDGE
  28. wrap_v: WRAP_MODE_CLAMP_TO_EDGE
  29. filter_min: FILTER_MODE_MIN_DEFAULT
  30. filter_mag: FILTER_MODE_MAG_DEFAULT
  31. }
  32. samplers {
  33. name: "texture2_sampler"
  34. wrap_u: WRAP_MODE_CLAMP_TO_EDGE
  35. wrap_v: WRAP_MODE_CLAMP_TO_EDGE
  36. filter_min: FILTER_MODE_MIN_DEFAULT
  37. filter_mag: FILTER_MODE_MAG_DEFAULT
  38. }