← Back to context

Comment by jiggawatts

5 years ago

There be dragons. First, you're assuming the target display device is sRGB! There's a decent chance it isn't these days.

Second, this will prevent HDR.

Most games render to a linear HDR target surface with a very wide dynamic range, and then will tonemap it to the display gamut as the final step. This was common as far back as Valve's Half Life game. I think even the first one did something along these lines!

This is especially important for modern engines that are used by AAA games. E.g. Unreal engine and all similar engines are commonly used for XBox and Playstation games where the output display is a wide-gamut HDR television, not an SDR sRGB computer monitor.