1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-01 03:21:41 +00:00
OpenMW/files/shaders/lib/luminance/constants.glsl

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
288 B
Plaintext
Raw Normal View History

2023-02-25 19:03:39 +00:00
#ifndef LUMINANCE_CONSTANTS
#define LUMINANCE_CONSTANTS
const float minLog = -9.0;
const float maxLog = 4.0;
const float logLumRange = (maxLog - minLog);
const float invLogLumRange = 1.0 / logLumRange;
const float epsilon = 0.004;
const float hdrExposureTime = @hdrExposureTime;
#endif