Export other channels and parameters from texture nodes #16

Merged
Bogdan Nagirniak merged 8 commits from BogdanNagirniak/blender:matx-images-alpha-1 into matx-export-material 2023-09-08 18:28:56 +02:00
Showing only changes of commit 852421ae4c - Show all commits

View File

@ -86,7 +86,7 @@ NodeItem NodeParser::texcoord_node()
NodeItem res = empty(); NodeItem res = empty();
res.node = graph_->getNode(TEXCOORD_NODE_NAME); res.node = graph_->getNode(TEXCOORD_NODE_NAME);
if (!res.node) { if (!res.node) {
res = create_node("texcoord", "vector2"); res = create_node("texcoord", NodeItem::Type::Vector2);
res.node->setName(TEXCOORD_NODE_NAME); res.node->setName(TEXCOORD_NODE_NAME);
} }
return res; return res;