microsoft / DirectXTK12

The DirectX Tool Kit (aka DirectXTK12) is a collection of helper classes for writing DirectX 12 code in C++
https://walbourn.github.io/directx-tool-kit-for-directx-12/
MIT License
1.45k stars 371 forks source link

ToneMapPostProcess updated with color rotation transform control #98

Closed walbourn closed 2 years ago

walbourn commented 2 years ago

Updated ToneMapPostProcess to allow dynamic control over the color primary rotation matrix used for HDR10 signal processing. It defaults to using the 'standard' Rec.709 to Rec.2020 color primary rotation just as before. This adds a SetColorRotation method with an overloads.

walbourn commented 2 years ago

Test Suite updates are here