add option to override model rendered color

This commit is contained in:
Joakim Kilby
2025-05-08 15:28:51 +02:00
parent 574b26c3ea
commit 4eccc99c7e
3 changed files with 42 additions and 0 deletions
+3
View File
@@ -33,6 +33,7 @@
#include <openspace/properties/scalar/boolproperty.h>
#include <openspace/properties/scalar/floatproperty.h>
#include <openspace/properties/vector/vec3property.h>
#include <openspace/properties/vector/vec4property.h>
#include <ghoul/misc/managedmemoryuniqueptr.h>
#include <ghoul/io/model/modelreader.h>
#include <ghoul/opengl/uniformcache.h>
@@ -124,6 +125,8 @@ private:
properties::BoolProperty _castShadow;
std::string _lightSource;
std::string _shadowGroup;
properties::BoolProperty _useOverrideColor;
properties::Vec4Property _overrideColor;
bool _autoSizeFrustum = false;