Page History
...
Some legacy options or features are deprecated and not fully compatible with the latest version of V-Ray 5. The portal options for lights and the Linear Workflow option (previously found in the Color Mapping settings) are no longer compatible with V-Ray.
V-Ray 5 will detect if a scene uses these features and offer to automatically migrate the scene to a compatible V-Ray 5 compatible setup.
You can select to not be prompted on scene open and instead run the migration manually from the V-Ray menu > Tools > Migrate Legacy Scenes.
The sections below explain in more detail what legacy features can be migrated and what the migration scripts do.
...
Section | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...
Historically, the legacy Linear Workflow option provided a one-click workflow for proper gamma correction of textures. However, Maya comes with an advanced and powerful Color Management System that is more capable than the Linear Workflow option to ensure proper correction of input textures against multiple color spaces and is the recommended approach.
The legacy Linear Workflow migration script will disable the Linear Workflow option and add a gammaCorrect node with the appropriate value to all material inputs that need to be corrected.
This ensures that the scene will render exactly the same after the migration.
The migration script will do the following:
- Disable the Linear Workflow option in the V-Ray render settings.
- Look at the Gamma value in the V-Ray Color Mapping options. The reverse of this value (1/value) will be used to correct material inputs where needed. For example, 1/2.2 will add a gammaCorrect node with a value of 0.4545.
- Add gammaCorrect nodes to all inputs affected by the legacy Linear Workflow option:
- VRayCarPaintMtl
- Base Color
- VRayMtl
- Diffuse Color
- Reflection Color
- Refraction Color
- Translucency Color
- VRayToonMtl
- DiffuseColor
- Reflection Color
- Refraction Color
- Translucency Color
- VRayFastSSS2
- Diffuse Color
- VRayFastSSS2 has its own Linear Workflow option. If it is enabled, the diffuse texture input needs to be corrected twice
- Overall Color
- Specular Color
- Scatter Radius Color
- Sub-surface Color
- Diffuse Color
- VRayCarPaintMtl
- The script will also process the Diffuse Amount, Reflection Amount and Refraction Amount parameters of VRayMtl and VRayToonMtl.
- The value or texture used for any of the Amount parameters will be multiplied by the respective Color parameter with a multiplyDivide node before the gammaCorrect node.
Notes
...
The migration script will attempt to convert the scene from both legacy features. In case just one feature is used, only that part of the script will be executed.
...