Node cleanup

This commit is contained in:
luboslenco
2025-10-06 14:06:18 +02:00
parent e884bd87d4
commit 3691ac515a
68 changed files with 1929 additions and 1871 deletions
@@ -1,4 +1,12 @@
function layer_mask_node_value(node: ui_node_t, socket: ui_node_socket_t): string {
if (socket == node.outputs[0]) {
let l: i32 = node.buttons[0].default_value[0];
node_shader_add_texture(parser_material_kong, "texpaint" + l, "_texpaint" + l);
return "sample(texpaint" + l + ", sampler_linear, tex_coord).r";
}
}
let layer_mask_node_def: ui_node_t = {
id: 0,
name: _tr("Layer Mask"),