implement blend mode selection in shader and fix alpha lock

This commit is contained in:
2017-11-12 03:27:28 +00:00
parent daaa7f9d48
commit 5dccd61160
10 changed files with 27 additions and 7 deletions

View File

@@ -4,6 +4,7 @@
class NodeComboBox : public NodeButton
{
public:
std::function<void(Node* target, int index)> on_select;
std::array<std::string, 4> labels{ "Normal", "Multiply", "Screen", "Color Dodge" };
int m_current_index = 0;
virtual Node* clone_instantiate() const override;