polygon: generate texture with alpha channel

This commit is contained in:
itsmattkc
2020-06-12 03:44:07 +10:00
parent e547d5b116
commit 6b7925302f
+1
View File
@@ -98,6 +98,7 @@ NodeValueTable PolygonGenerator::Value(NodeValueDatabase &value) const
job.InsertValue(points_input_, value);
job.InsertValue(color_input_, value);
job.SetAlphaChannelRequired(true);
NodeValueTable table = value.Merge();
table.Push(NodeParam::kShaderJob, QVariant::fromValue(job), this);