Skip to content
Snippets Groups Projects
Commit f793fc04 authored by Niklas Haas's avatar Niklas Haas
Browse files

shaders/colorspace: implement ITU-R BT.2390

We make this the default tone mapping function because it's the de-facto
standard in the industry. Unfortunately, it's quite a bit heavier than
the other algorithms due to the extra PQ round trip needed during tone
mapping.

It's entirely possible that we could make the choice of whether to do
things in PQ space or in linear light a choice completely independent of
the tone mapping function itself, since arguably PQ's "perceptual
uniformity" quality makes it a suitable space to do tone mapping in
regardless of what function we use.

That being said, I don't currently want to consider the headache of
testing this all, so let's just implement it for BT.2390 and call it a
day.
parent 55fde14a
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment