Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

There is one more place to control color mapping - BitmapBuffer - for texture file assets. It has two parameters for converting the image file colors - gamma and color_space. The gamma parameter is considered only when color_space=1 and makes texture reads apply inverse gamma to decode gamma-compressed values to linear. Most integer formats will require setting color_space=1 and gamma=0.454545. When color_space=2, sRGB decoding is performed (similar, but not identical to color_space=1 & gamma=0.4545). Since V-Ray implicitly converts JPEG (or PNG and other 8-bit formats) file data to linear RGB while reading the file, it isn't necessary to change gamma or color_space from their default values for such textures. This is only necessary for images baked with gamma encoding (before any internal conversion, such as JPEG's YCbCr).

6.9. Stereo and panorama rendering

...