Vous êtes sur la page 1sur 5

Different ways to add Gamma in your renders

Lesson by Ciro Sannino - Auth on May 17, 2012, filed in: V-Ray Tutorials Share with your friends! Every real device to take pictures adds gamma. We actually are producers of images and we need to correctly setup the gamma in 3ds Max, in order to imitate the behavior of real cameras. In 3ds Max the options we have to add gamma are various: 1. 2. 3. 4. Gamma in output / preferences Gamma / color mapping Dont Affect colors / color mapping sRGB button /V-Ray Frame Buffer (VFB)

Every option in this list affects gamma. As you can understand we cant use all at the same time! We have to choose a combination to just adds 2,2.. once! Im going to show you how many combinations are possible and youll see just one way is the correct one.

COMBINATION 1 : Gamma in.. OUTPUT follow the green arrow - Gamma in output / preferences = 2,2 - Gamma in color mapping = 1,0 - Gamma in VFB (sRGB button) = disabled

Brief Explaination: Youre adding 2,2 to the final image. But in this ways will youll get artifacts in the shadows. The reason is that youre just adding a fake gamma not good

COMBINATION 2: Gamma in sRGB button (follow the green arrow) - Gamma in output / preferences = 1,0 - Gamma in color mapping = 1,0 - Gamma in VFB (sRGB button) = enabled

Brief Explaination: Youre adding 2,2 with the sRGB button but its just a preview of gamma. When you save the image the gamma is not added, so youll see a different image out of 3ds Max! wrong usage!

COMBINATION 3: Gamma in.. Color Mapping (perfect) follow the green arrow - Gamma in output / preferences = 1,0 - Gamma in color mapping = 2,2 - Gamma in VFB (sRGB button) = disabled

Brief Explaination: Youre adding gamma 2,2 during the computation: thats fine! Simple and effective.

COMBINATION 4: Gamma included but not visible (for compositing) follow the green arrow - Gamma in output / preferences = 1,0 - Gamma in color mapping = 2,2 / dont affect colors = enabled - Gamma in VFB (sRGB button) = enabled (for preview)

Brief Explaination: Youre adding gamma 2,2 during the computation Dont affect colors hide gamma but avoid artifacts Use sRGB button just to have a preview This way is perfect if you want to save in EXR or you want to add gamma in compositing with more layers. In these case sRGB button is really useful to preview how the image will looks after added gamma in compositing.

CONCLUDING
Resuming all combinations:

Way1 produces artfacts Way2 is just a wrong usage of sGRB button! :-\

Ways 3 and 4 are correct but it depends on your operating mode:


Way3 is simple and ieffective to add gamma during the render (my favourite) Way4 is for adding gamma in a different moment from the rendering (compositing)

I showed you also Way1 and 2 to let you avoid these ways! * *

Note 1: If your image is correct in 3ds max but really brighten in photoshop the causes are 2: 1) check output value in preferences: it must be 1,0 2) you just used Way2 Note 2: Of course if you use gamma in color mapping + gamma in output + sRGB button youre completely wrong. Gamma added will be 2,2 + 2,2 + 2,2 and your image will results completely washed out! Every image need just 2,2 once. Note 3: Always use V-Ray Frame Buffer

Vous aimerez peut-être aussi