(mat, color, hull_normal_map)
| 429 | |
| 430 | # Sets some basic properties for a hull material. |
| 431 | def set_hull_mat_basics(mat, color, hull_normal_map): |
| 432 | shader_node = getShaderNode(mat) |
| 433 | shader_node.inputs["Specular"].default_value = 0.1 |
| 434 | shader_node.inputs["Base Color"].default_value = color |
| 435 | |
| 436 | return add_hull_normal_map(mat, hull_normal_map) |
| 437 | |
| 438 | # Creates all our materials and returns them as a list. |
| 439 | def create_materials(): |
no test coverage detected