opengl-es,glsl,webgl,game-engine,hdr

Light Calculation / Accumulation Yes, you are generally able to keep your lightning calculation the same and increasing say the intensity of directional lights over 1.0 is certainly fine. Another way the value can exceed one is simply by adding the contributions of several lights together. Tone Mapping You certainly...

Your code is a victim of limited floating point precision. Many values that can be represented precisely in the decimal system, like the 1.1 in your example, cannot be represented exactly in the binary-based floating point formats used by CPUs/GPUs. This means that when you write 1.1 to your output,...