Add a new property to control whether the blackout factor should apply to the master (closes #2923)

This commit is contained in:
Alexander Bock
2023-10-18 22:29:31 +02:00
parent 15f175ce3d
commit 1dbe58a8ac
2 changed files with 24 additions and 14 deletions

View File

@@ -92,9 +92,6 @@ public:
void renderEndscreen();
void postDraw();
float globalBlackOutFactor() const;
void setGlobalBlackOutFactor(float opacity);
float hdrExposure() const;
bool isHdrDisabled() const;
@@ -168,6 +165,7 @@ private:
void renderCameraInformation();
void renderShutdownInformation(float timer, float fullTime);
void renderDashboard();
float combinedBlackoutFactor() const;
Camera* _camera = nullptr;
Scene* _scene = nullptr;
@@ -193,6 +191,7 @@ private:
properties::BoolProperty _disableMasterRendering;
properties::FloatProperty _globalBlackOutFactor;
properties::BoolProperty _applyBlackoutToMaster;
properties::BoolProperty _enableFXAA;