*Please note, this tutorial applies to 3ds Max versions prior to 2014 and Vray versions prior to 3.0.

Many of you will have heard the terms “linear workflow” and “gamma correction”. It is a must for 3d rendering, especially interior visualisation because it fixes so many problems with render samples, light falloff and cuts post processing tasks in half. To put it simply, this workflow will increase the fall off of your lights so that light travels further throughout your scene by working in gamma 2.2 but save out a linear image for compositing.

Up until now, you are used to adding in extra lights and hitting a high multiplier value in order to get light to flood through your scene and eliminate dark areas. However, this can lead to incorrect burnt out areas. Gamma correction fixes this problem and allows you to reduce the amount of lights in your scene, which in turn reduces rendering times. Here are the settings you would need to change in order to set it up correctly, along with a small explanation of each step.

Set gamma to 2.2

By default, both Autodesk 3ds Max and Vray work in gamma 1.0 (linear space). In Autodesk 3ds Max preferences under enable gamma/lut correction, change the gamma to 2.2. Autodesk 3ds Max will now have an input gamma of 1.0 and an output gamma of 2.2 for viewing everything in the viewport.

Tick both affect colour selectors and affect material editor

This will drastically change the way you see your material editor and materials within the scene, this is how it should be at gamma 2.2. It will take a while to get used to but it is a necessary step for a linear workflow.

Leave input and output gamma at 1.0

Changing this to anything else but 1.0 will just confuse matters. Keeping this at 1.0 means that your textures will always come in at 1.0 and go out at 1.0. The actual Gamma change to 2.2 will happen elsewhere. A simple explanation straight from the Autodesk 3ds Max help file explains why.

“If you use bitmaps from multiple applications, and these different applications have different ideal Input Gamma values, then turn on gamma correction, but leave Input Gamma set to 1.0. Instead, for each bitmap you read, use the individual Select Bitmap Image File dialog to set the gamma value appropriate to the program that created the bitmap.”

Enable Vray frame buffer

In the Vray render Setup go to Vray frame buffer and tick enable built-in frame buffer. This is a much more advanced render window than the standard 3ds Max version. You can toggle between linear and gamma 2.2 correction and apply basic colour correcting which can be burned in when the image is saved.

Vray linear colour mapping

In Vray colour mapping, set it to linear multiply and set gamma to 2.2. It is recommended to work in pure linear space and complete your gamma correcting in post production. Tick don’t affect colours (adaptation only). This will render out a darker version of your image. To see the actual result in gamma 2.2 space, click the sRGB button in the Vray frame buffer during or after rendering.

Do not tick linear workflow, it may seem like a magical linear workflow button but it is not. Instead it is a quick and brutal way of correcting Vray materials to match a linear workflow and the result can be less than desired.

Specify gamma 2.2 for textures

When adding a texture map to the material editor, in the bitmap loader, manually change the gamma to 2.2. Although they work in gamma 1.0 (linear space), digital cameras apply a total curve which adjusts the gamma to 2.2 to make the image appear more pleasing to the eye. Unless you have advanced photography skills and you are working with RAW images, this is a helpful process for the average happy snapper. It means that, as you may have guessed, the texture map JPEG you took with your digital camera is already at gamma 2.2.

You need to specify the texture map to be 2.2 gamma on entry otherwise the image will be at gamma 4.4 and over bright because you have already told Autodesk 3ds Max to be at gamma 2.2 for both colour selectors and the material editor in step 2. Please note HDRI maps, bump maps, displacement maps and normal maps do not need to be changed to gamma 2.2.

Render output format

When working with linear images, the output is mathematically correct as opposed to just looking correct. In post processing, any adjustments will give predictable results and are much easier to manage. It is best to save out as a TIF file which is at least 16 bit colour. Saving out an 8bit file format may result in some colour banding because there is not enough tonal range. Never render out JPEGs because this file format is not designed for linear images and you will lose a lot of data when saving in this format initially.

Once you have completed your composit, you will need to manually apply a gamma correction curve for correct viewing on a monitor or if you choose to render as EXR, Adobe apply this gamma correction for you automatically.