material_output_node.ts 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. // let material_output_node_def: ui_node_t = {
  2. // id: 0,
  3. // name: _tr("Material Output"),
  4. // type: "OUTPUT_MATERIAL_PBR",
  5. // x: 0,
  6. // y: 0,
  7. // color: 0xffb34f5a,
  8. // inputs: [
  9. // {
  10. // id: 0,
  11. // node_id: 0,
  12. // name: _tr("Base Color"),
  13. // type: "RGBA",
  14. // color: 0xffc7c729,
  15. // default_value: f32_array_create_xyzw(0.8, 0.8, 0.8, 1.0),
  16. // min: 0.0,
  17. // max: 1.0,
  18. // precision: 100,
  19. // display: 0
  20. // },
  21. // {
  22. // id: 0,
  23. // node_id: 0,
  24. // name: _tr("Opacity"),
  25. // type: "VALUE",
  26. // color: 0xffa1a1a1,
  27. // default_value: f32_array_create_x(1.0),
  28. // min: 0.0,
  29. // max: 1.0,
  30. // precision: 100,
  31. // display: 0
  32. // },
  33. // {
  34. // id: 0,
  35. // node_id: 0,
  36. // name: _tr("Occlusion"),
  37. // type: "VALUE",
  38. // color: 0xffa1a1a1,
  39. // default_value: f32_array_create_x(1.0),
  40. // min: 0.0,
  41. // max: 1.0,
  42. // precision: 100,
  43. // display: 0
  44. // },
  45. // {
  46. // id: 0,
  47. // node_id: 0,
  48. // name: _tr("Roughness"),
  49. // type: "VALUE",
  50. // color: 0xffa1a1a1,
  51. // default_value: f32_array_create_x(0.1),
  52. // min: 0.0,
  53. // max: 1.0,
  54. // precision: 100,
  55. // display: 0
  56. // },
  57. // {
  58. // id: 0,
  59. // node_id: 0,
  60. // name: _tr("Metallic"),
  61. // type: "VALUE",
  62. // color: 0xffa1a1a1,
  63. // default_value: f32_array_create_x(0.0),
  64. // min: 0.0,
  65. // max: 1.0,
  66. // precision: 100,
  67. // display: 0
  68. // },
  69. // {
  70. // id: 0,
  71. // node_id: 0,
  72. // name: _tr("Normal Map"),
  73. // type: "VECTOR",
  74. // color: -10238109,
  75. // default_value: f32_array_create_xyz(0.5, 0.5, 1.0),
  76. // min: 0.0,
  77. // max: 1.0,
  78. // precision: 100,
  79. // display: 0
  80. // },
  81. // {
  82. // id: 0,
  83. // node_id: 0,
  84. // name: _tr("Emission"),
  85. // type: "VALUE",
  86. // color: 0xffa1a1a1,
  87. // default_value: f32_array_create_x(0.0),
  88. // min: 0.0,
  89. // max: 1.0,
  90. // precision: 100,
  91. // display: 0
  92. // },
  93. // {
  94. // id: 0,
  95. // node_id: 0,
  96. // name: _tr("Height"),
  97. // type: "VALUE",
  98. // color: 0xffa1a1a1,
  99. // default_value: f32_array_create_x(0.0),
  100. // min: 0.0,
  101. // max: 1.0,
  102. // precision: 100,
  103. // display: 0
  104. // },
  105. // {
  106. // id: 0,
  107. // node_id: 0,
  108. // name: _tr("Subsurface"),
  109. // type: "VALUE",
  110. // color: 0xffa1a1a1,
  111. // default_value: f32_array_create_x(0.0),
  112. // min: 0.0,
  113. // max: 1.0,
  114. // precision: 100,
  115. // display: 0
  116. // }
  117. // ],
  118. // outputs: [],
  119. // buttons: [],
  120. // width: 0,
  121. // flags: 0
  122. // };