Introduction

Viz Engine can be configured to create window contexts with enabled HDR compatibility. The content color space must be sRGB, which is then displayed using an adjustable brightness level in scRGB using a 16-bit float per channel framebuffer.

Warning: Rendering to HDR-enabled windows only works in combination with Viz Engine Render Pipeline scenes and does not work with the Classic Render Pipeline.

Prerequisites

  • Microsoft Windows 10, version 1709 or later.

  • An HDR compatible monitor with HDR enabled via Microsoft Windows Display Settings.

Information: It is recommended that all monitors used are capable of running HDR, because if Microsoft Windows decides to create a window on a non-HDR monitor, HDR cannot be enabled at all.

Configuration

Viz Engine

Open Viz Engine Configuration file (for example, C:\ProgramData\vizrt\VizEngine\VizEngine-0.cfg) and set the flag hdr_preview_mode to 1 . All Viz Engine Renderer window contexts are then created with HDR compatibility enabled.

For each of them, the console shows on which display it was created, the current HDR enablement state and the maximum WhiteLevel. If those lines are not printed, HDR window rendering is not available at all.

Example

Display Info:
 o Name: \\.\DISPLAY2
 o HDR: Enabled
 o WhiteLevel: 264

Windows Display Settings

To adjust the brightness of the SDR content, Viz Engine reads the display setting called HDR/SDR brightness balance. The slider can be found under Display Settings > Windows HD Color settings for any HDR enabled display. The rendering output reflects any change to the slider value immediately.

References