Refactored name for Fattal / Alpha & Beta + updated ranges (see #4168)
Ranges for Threshold and Amount is now -100 / +100 integer. Effective range should be modified in ImProcFunctions::ToneMapFattal02 if ever.
This commit is contained in:
@@ -743,8 +743,8 @@ public:
|
||||
class FattalToneMappingParams {
|
||||
public:
|
||||
bool enabled;
|
||||
double alpha;
|
||||
double beta;
|
||||
int threshold;
|
||||
int amount;
|
||||
|
||||
FattalToneMappingParams()
|
||||
{
|
||||
@@ -754,8 +754,8 @@ public:
|
||||
void setDefaults()
|
||||
{
|
||||
enabled = false;
|
||||
alpha = 1.0;
|
||||
beta = 1.0;
|
||||
threshold = 0;
|
||||
amount = 0;
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user