Remove maximum/minimum brightness decay
This commit is contained in:
parent
5ffaee918a
commit
75d280c8ea
3 changed files with 1 additions and 10 deletions
|
|
@ -11,9 +11,6 @@
|
|||
// 'Forgetting factor' of the rolling brightness average
|
||||
#define LIGHTSENSOR_LAMBDA 0.95f
|
||||
|
||||
// 'Forgetting factor' for maximum and minimum brightness
|
||||
#define LIGHTSENSOR_ALPHA 0.999f
|
||||
|
||||
// Bounds for converting absolute to relative brightness: Consider everything
|
||||
// near the minimum or maximum 0.0 or 1.0, respectively
|
||||
#define LIGHTSENSOR_LOW_BOUND 0.1f
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue