---
title: "OpenColorIO Support"
canonical: "https://documentation.chaos.com/space/VMAX/113575253/OpenColorIO%20Support"
format: markdown
---
This page provides information on V-Ray compatibility with the OCIO color management library.

 

## <span style="color: #000000">**Overivew**</span>

---

<span style="color: #000000">V-Ray includes support for the</span> [OpenColorIO](http://opencolorio.org/)<span style="color: #000000"> (OCIO) color management library. Below are some details on the integration.</span>


## <span style="color: #000000">**OCIO Support in the V-Ray Frame Buffer**</span>

---

<span style="color: #000000">The V-Ray Virtual Frame Buffer (VFB) supports OCIO display transformations. </span><span style="color: #000000">*For more details on the VFB support for OCIO, see the *</span><span style="color: #000000">*[OpenColorIO (OCIO)](https://docs-chaos.atlassian.net/wiki/spaces/VMAX/pages/113588521/Layers#OpenColorIO-(OCIO))*</span><span style="color: #000000">* section of the*</span>* V-Ray VFB page*.

 

## <span style="color: #000000">**VRayOCIO Texture**</span>

---

<span style="color: #000000">In an ideal scenario, textures plugged into the renderer should already be converted to linear color space (or sRGB color space for 8-bit textures). However, sometimes it is necessary to use textures stored in other color spaces (i.e. background plates) which need conversion on the fly. The</span> [VRayOCIO](https://docs-chaos.atlassian.net/wiki/spaces/VMAX/pages/113575415) <span style="color: #000000">texture allows you to do that by applying various OCIO color corrections to other 3ds Max textures.</span>

<span style="color: #000000">The OCIO corrections are slow, so use them sparingly and only when it is not possible or practical to pre-convert the texture to linear color space.</span>


## <span style="color: #000000">**Material Editor Swatches**</span>

---

<span style="color: #000000">V-Ray optionally can apply the same OCIO transformations from the V-Ray VFB to the color swatches in the Material Editor. To enable this, set the </span><span style="color: #000000">**VRAY_VFB_AFFECT_SWATCHES**</span><span style="color: #000000"> </span><span style="color: #000000">[environment variable](https://docs-chaos.atlassian.net/wiki/spaces/VNS/pages/115605616)</span><span style="color: #000000"> to 1 (setting it to 2 applies all VFB color corrections). This is currently an experimental feature and is disabled by default. It is not implemented for the VFB.</span>