Chicken.b2l.mat 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. return {
  2. Chicken = {
  3. params = {
  4. ambient_light = {
  5. datatype = 'float',
  6. tag = 'Lighting',
  7. value = 0.5
  8. },
  9. diffuse_color = {
  10. datatype = 'vec3',
  11. tag = 'Material',
  12. value = { 1, 1, 1 }
  13. },
  14. diffuse_texture = {
  15. datatype = 'sampler2D',
  16. tag = 'Material',
  17. value = 'ChickenE.png'
  18. },
  19. groups = {
  20. datatype = 'mat4',
  21. tag = 'Misc'
  22. },
  23. light_angle_a = {
  24. datatype = 'float',
  25. tag = 'Lighting',
  26. value = 0.5
  27. },
  28. light_angle_b = {
  29. datatype = 'float',
  30. tag = 'Lighting',
  31. value = 0.5
  32. },
  33. light_color = {
  34. datatype = 'vec3',
  35. tag = 'Lighting',
  36. value = { 1, 1, 1 }
  37. },
  38. light_intensity = {
  39. datatype = 'float',
  40. tag = 'Lighting',
  41. value = 0.5
  42. },
  43. model = {
  44. datatype = 'mat4',
  45. tag = 'Misc'
  46. },
  47. normal_texture = {
  48. datatype = 'sampler2D',
  49. tag = 'Material',
  50. value = 'ChickenE_nor.png'
  51. },
  52. normal_texture_scale = {
  53. datatype = 'float',
  54. tag = 'Material',
  55. value = 0.5
  56. },
  57. proj = {
  58. datatype = 'mat4',
  59. tag = 'Misc'
  60. },
  61. skinned = {
  62. datatype = 'bool',
  63. tag = 'Animation',
  64. value = true
  65. },
  66. use_diffuse_texture = {
  67. datatype = 'bool',
  68. tag = 'Material',
  69. value = true
  70. },
  71. use_normal_texture = {
  72. datatype = 'bool',
  73. tag = 'Material',
  74. value = true
  75. },
  76. view = {
  77. datatype = 'mat4',
  78. tag = 'Misc'
  79. }
  80. },
  81. shaders = {
  82. fs_filename = 'test.frag.glsl',
  83. vs_filename = 'test.vert.glsl'
  84. },
  85. uv_layer = 'UVMap2'
  86. }
  87. }