Skip to content

brentnewton/dwm_lut

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A fork of the original dwm_lut which works also on Windows 11

About

This tool applies 3D LUTs to the Windows desktop by hooking into DWM. It works in both SDR and HDR modes, and uses tetrahedral interpolation on the LUT data. In SDR, blue-noise dithering is applied to the output to reduce banding.

Right now it should work on any 20H2 or 21H1 build of Windows 10, and also the current build of Windows 11, and I'll try to update it whenever a new version breaks it.

Usage

Use DisplayCAL or similar to generate .cube LUT files of any size, run DwmLutGUI.exe, assign them to monitors and then click Apply. Note that LUTs cannot be applied to monitors that are in "Duplicate" mode.

For ColourSpace users with HT license level, 65^3 eeColor LUT .txt files are also supported.

HDR LUTs must use BT.2020 + SMPTE ST 2084 values as input and output.

Minimizing the GUI will make it disappear from the taskbar, and you can use the context menu of the tray icon to quickly apply or disable all LUTs. For automation, you can start the exe with any (sensible) combination of -apply, -disable, -minimize and -exit as arguments.

Note: DirectFlip and MPO get force disabled on monitors with an active LUT. These features are designed to improve performance for some windowed applications by allowing them to bypass DWM (and therefore also the LUT). This ensures that LUTs get applied properly to all applications (except exclusive fullscreen ones).

Compiling

Install vcpkg for C++ dependency management:

  • Create and switch to your desired install folder (e.g. %LOCALAPPDATA%\vcpkg)
  • git clone https://github.com/Microsoft/vcpkg.git .
  • .\bootstrap-vcpkg.bat
  • vcpkg integrate install

Just open the projects in Visual Studio and compile a x64 Release build.

About

Apply 3D LUTs to the Windows desktop for system-wide color correction/calibration

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 39.2%
  • C# 33.0%
  • C 27.8%