Displacement and Gamma issues with V-Ray
This might intrest thos who work in Linear color mapping with a gamma curve (like the so called Linear Workflow LWF with 2.2 gamma correction). I recently bumped into an annoying side effect of putting an input gamma for bitmap files other than 1.0 in Max : Diplacement maps gets corrected aswell…
But here’s how to fix it !
This example shows the issue with a diplacement map inspired by the facade of the de Young Museum. Note that as the map is diplaced inside and outside, a negative shift value of half the displacement amount has to be applied to avoid the mid grey to push the plane outwards. Since the map is gamma corrected, this negative shift gets messed up aswell.
![]()
![]()
It’s pretty easy to correct this, either with the color correct plugin, either with the new Color Correction that comes with Max 2010. To do this just put a gamma correction on the map of 2.2, in advanced lightness menu, to counter the input gamma initially applied on it)
Then it goes well ! And the negative shift keeps the plane aligned with the rest of the model…
![]()
I’ve noticed that the double gamma correction is not as precise as a simple gamma 1.0 import of the bitmap, but it wil solve the issue in most cases. Maybe an option in V-Ray dipsplacement mod could also do the trick, preventing to apply the gamma in the first place.
About me & this blog
Graduated Architect living in Brussels, I'm specialized in the field of architectural visualization.
This blog covers mainly non-professional CG work, architectural rendering, WIPs, photography, CG materials & methods, tutorials, render theories etc.
To see my professional work please visit pixelab, and don't forget to buy me a coffee if you find something useful here ! ;)Archives
- July 2011 (1)
- May 2011 (1)
- April 2011 (2)
- January 2011 (1)
- November 2010 (1)
- May 2010 (1)
- February 2010 (2)
- January 2010 (1)
- December 2009 (1)
- September 2009 (4)
- August 2009 (1)
- June 2009 (1)
- April 2009 (1)
- March 2009 (1)
- January 2009 (1)
- September 2008 (4)
- June 2008 (1)
- March 2008 (3)
- January 2008 (1)
- November 2007 (2)
- October 2007 (1)
- September 2007 (3)
- August 2007 (2)
- July 2007 (5)
- June 2007 (2)