This How To will give you a better of the HDR Engine and the HDR workflows in Ventuz.
This tutorial is about the workflow of an HDR Layer. To enable HDR output, see: How To Enable HDR
In this Article HDR means solely the HDR Engine that uses 16-bit floating point numbers for each color channel instead of 8-bit integers. In the end, these color values will be calculated to match the output's colorspace. Three things result from this different representation:
The result has one major advantage over non-HDR rendering engines: We can use physically correct formulas instead of approximations - thus allowing for the creation, adjustment, and animation of realistic images. When using the Video Engine in HDR Mode, you can use IPP effects like Lens Flares and Bloom more easily. Lighting is also significantly different when working in HDR. For example, the transition between light and dark are smoother and you can make use of the gain to overbrighten certain areas of the scene; This is, basically, the intended use for HDR - more (a higher) dynamic range.
Keep in mind that HDR is an imaging technique that captures, processes, and reproduces the content in such a way that both the shadows and highlights of a scene are increased. You have a wider range of colors when compared to non-HDR. Therefore, HDR captures a wider and more dynamic range between the darkest and the lightest part of an image.
When switching from Standard to HDR, the overall colors will have a slight variation due to the nature of the HDR Mode.
When the HDR Engine is enabled, you will see additional properties such as: Exposure, Dither, FrustumCulling and another dropdown menu for the ToneMapping selection as well as another set of properties depending on the selected ToneMapping mode.
You don't have to switch the whole engine to HDR, to work with a HDR layer. If the engine is set to SDR, the blending is in 8-bit int and the HDR layer is tone mapped before blending, but is still calculated in 16-bit float.
A Sky Texture's purpose is to show an environment. The Sky Texture will not have any influence on the way Geometries or the whole scene is lit. To light the scene or geometries, follow the section where we use an HDRi to light the scene.
You can find a default cubemap by activating the SkyBox interactive help and use the specular/reflection texture from there or navigate to %public%\Documents\Ventuz[Version]\Content\Projects\__HELP__\VentuzHelp\Textures\__HELP__\HDRI\Reflection where [Version] must be replaced with the Version Family of Ventuz
An Irradiance Texture will light your scene and is not much bigger than 128px x 128px. While the Specular Texture will be used for either reflections on geometries or when used with !IBL/Roughness maps, the roughness maps will control the mipmap level on the surface to give the surface a specific glossy finish such as rubber, coal, iron, or mirror.
The SkyBox node works like a LightGroup. Only the nodes/objects behind the SkyBox will be affected by the SkyBox
In most cases you will notice that the whole environment looks too bright and/or has an incorrect gamma.
Most times the first step is to adjust the Gamma for the loaded images. Adjusting irradiance, specular and SkyTexture comes next. For each of these textures there is a dropdown property called Hint.
To access this property you need to unfold the Irradiance Property then the Cubemap Loader and there you will find the hint dropdown menu which is usually set to Auto.
HDRi images will have a gamma value written in their metadata; Ventuz will try to adjust the gamma using this information as the default setting is Auto. If necessary, you can adjust the gamma manually to correct for errors. In most cases you will need to switch the hint to Gamma2_2. Its important to check if you need to do that for both or all used SkyBox textures. The hint is available for all texture loaders: Irradiance, Specular, and SkyTexure
The next step would be to adjust the Exposure.
Exposure in Ventuz behaves the same way as a real camera does. You can find the Exposure property at the 3D Layer Root node. The higher the exposure value the more light will travel into the camera resulting in more brightness, the lower the exposure the less light will travel into the camera and therefore darken the scene/environment.
In the case of the HDRis from the Help Scenes, it would be wise to darken the scene, it still looks over-exposed (as long as you use our default textures). You will notice that starting with exposure values around -2.26, details such as clouds will be noticeable, and the cube will become more naturally lit. Adjust the 'Rotate: 70' for the SkyBox - this will rotate the whole sky and you should face the sun.
Experiment with the Exposure and lower the value to around -8.5 so you can spot the Sun-Disc.
The above example shows the difference between an exposure value of -2.26(left) and -11.0(right) - This way you can realize how much dynamic light information is stored inside the HDRi. Also notice that the environment also lights and colorizes the geometry, the beveled cube in this case.
The Tonemapping is only used while the blending is in SDR 8-bit (non-HDR mode). If the whole engine is in HDR, there is only one tonemapping step at the output device.
As long as you use the default set Tonemapping: Reinhard you can adjust the Whitepoint. By adjusting the whitepoint you simply tell the engine which brightness value is pure white. It will bring more clarity and detail to your image and eliminate the haze you see in many images.
In our case with the default Sky Textures we would adjust the Whitepoint, depending on the Exposure as well, by setting it matched to the "white in the clouds". You adjust the Whitepoint first to have the image, or in our case, sky, look more natural.
Adjust the following properties to match these values: Exposure: -6.28and Whitepoint: 0.24
You can spot the differences not only while you adjusted the values; You will see the differences in the clarity and that the clouds are not starting in the gray - they start with the corrected white and then have their gray scale applied.
There are several ways of using HDR with Ventuz. On one hand you simply use HDRi's to create a nice SkyBox environment, on the other hand by using HDR you can take advantage of the whole dynamic range stored in the images by adjusting the exposure. It is possible to use the environment textures to light your scene.
By adjusting the whitepoint, you figured out that this will have an impact on the clarity which is common for the colorful look of HDRi images. Setting the Whitepoint manually will also result in higher details in the areas needed.
Setting up HDR with a SkyBox properly is crucial if you want to use features like Material Roughness for Image Based Lighting driven scenes.