Load vec3 constant node types from disk
This commit is contained in:
parent
e1205662ec
commit
6656bd8e58
1 changed files with 2 additions and 0 deletions
|
@ -282,6 +282,8 @@ std::unique_ptr<Material> load_material(const file::Path path) {
|
|||
n = std::make_unique<TextureNode>();
|
||||
} else if(name == "Float Constant") {
|
||||
n = std::make_unique<FloatConstant>();
|
||||
} else if(name == "Vector3 Constant") {
|
||||
n = std::make_unique<Vector3Constant>();
|
||||
}
|
||||
|
||||
n->id = node["id"];
|
||||
|
|
Reference in a new issue