Sync material nodes

This commit is contained in:
luboslenco
2025-10-20 10:28:33 +02:00
parent a484edc1fd
commit f5b70152ef
52 changed files with 127 additions and 566 deletions
+2 -2
View File
@@ -44,7 +44,7 @@ let node_list = [
{
id: 1,
node_id: 0,
name: "Fac",
name: "Factor",
type: "VALUE",
color: 0xffa1a1a1,
default_value__f32: [1.0],
@@ -75,7 +75,7 @@ parser_material_custom_nodes_set(node_type, function(node, socket_name) {
if (socket_name == "Color") {
return "float3(" + my_out + ", " + my_out + ", " + my_out + ")";
}
else if (socket_name == "Fac") {
else if (socket_name == "Factor") {
return my_out;
}
});