diff --git a/tools/editor/src/materialeditor.cpp b/tools/editor/src/materialeditor.cpp index 452579e..8ef5eff 100755 --- a/tools/editor/src/materialeditor.cpp +++ b/tools/editor/src/materialeditor.cpp @@ -110,6 +110,9 @@ void MaterialEditor::draw(CommonEditor* editor) { if(ImGui::MenuItem("Float Constant")) material->nodes.push_back(std::make_unique()); + if(ImGui::MenuItem("Vec3 Constant")) + material->nodes.push_back(std::make_unique()); + ImGui::EndMenu(); }