mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-06 03:29:44 -06:00
Improved memory consumption and performance. Added default parameters.
This commit is contained in:
@@ -211,7 +211,7 @@ private:
|
||||
float _bloomThresholdMax = 1.0;
|
||||
float _bloomOrigFactor = 1.0;
|
||||
float _bloomNewFactor = 1.0;
|
||||
int _toneMapOperator = 0;
|
||||
int _toneMapOperator = 8; // JCC TODO: temporarilly set to 8 because setProperty seems not to be working for OptionProperty
|
||||
bool _histogramEnabled = false;
|
||||
int _numberOfBins = 1024; // JCC TODO: Add a parameter control for this.
|
||||
float _tmoKey = 0.18f;
|
||||
|
||||
@@ -68,18 +68,18 @@ public:
|
||||
// defines in hdr.glsl file.
|
||||
enum class ToneMapOperators {
|
||||
EXPONENTIAL = 0,
|
||||
LINEAR,
|
||||
SIMPLE_REINHARD,
|
||||
LUM_BASED_REINHARD,
|
||||
WHITE_PRESERVING,
|
||||
ROM_BIN_DA_HOUSE,
|
||||
FILMIC,
|
||||
UNCHARTED,
|
||||
COSTA,
|
||||
ADAPTIVE,
|
||||
GLOBAL,
|
||||
PHOTOGRAPHIC_REINHARD,
|
||||
MIPMAPPING
|
||||
LINEAR, //1
|
||||
SIMPLE_REINHARD, //2
|
||||
LUM_BASED_REINHARD, //3
|
||||
WHITE_PRESERVING, //4
|
||||
ROM_BIN_DA_HOUSE, //5
|
||||
FILMIC, //6
|
||||
UNCHARTED, //7
|
||||
COSTA, //8
|
||||
ADAPTIVE, //8
|
||||
GLOBAL, //9
|
||||
PHOTOGRAPHIC_REINHARD, //10
|
||||
MIPMAPPING //11
|
||||
};
|
||||
|
||||
enum class COLORSPACE {
|
||||
|
||||
Reference in New Issue
Block a user