mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Added option for disabling lighting (#311)
This commit is contained in:
@@ -110,6 +110,7 @@ public:
|
||||
void setUndefinedColor(cvf::Color3f color) { m_undefinedColor = color; }
|
||||
void setFaceCulling(caf::FaceCulling faceCulling) { m_cullBackfaces = faceCulling; }
|
||||
void setDefaultCellColor(cvf::Color3f color) { m_defaultCellColor = color; }
|
||||
void disableLighting(bool disable) { m_disableLighting = disable; }
|
||||
|
||||
protected:
|
||||
virtual bool isEqual( const EffectGenerator* other ) const;
|
||||
@@ -130,5 +131,6 @@ private:
|
||||
caf::FaceCulling m_cullBackfaces;
|
||||
cvf::Color3f m_undefinedColor;
|
||||
cvf::Color3f m_defaultCellColor;
|
||||
bool m_disableLighting;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user