paint: fix triplanar + mapping node

This commit is contained in:
luboslenco
2026-04-16 15:03:05 +02:00
parent e8ab4bd42b
commit f0afe4ac6d
2 changed files with 5 additions and 1 deletions
+1 -1
View File
@@ -87,7 +87,7 @@ void make_texcoord_run(node_shader_t *kong) {
}
node_shader_write_attrib_frag(kong, "var tex_coord: float2 = input.tex_coord;");
}
else { // TexCoords - triplanar
else { // UV_TYPE_TRIPLANAR, TexCoords - triplanar
kong->frag_wposition = true;
kong->frag_n = true;
node_shader_add_constant(kong, "brush_scale: float", "_brush_scale");