This page provides information on V-Ray Attributes that can be added to standard Maya and V-Ray materials.

 

Page Contents ×

Overview


The V-Ray Additional Attributes can be added to all Maya and V-Ray materials. This is done from the Attributes > VRay menu in the Attribute Editor with a material selected. This will add several new attributes in the Extra VRay Attributes section.


UI Path



||Select material|| > Attribute Editor >  Attributes menu > VRay > (select attribute set)




 

Glossiness Controls


These attributes are available for the three Maya standard glossy materials - Blinn, Phong, and PhongE.

 

 

 

Override – When enabled, this option causes the highlight and reflection glossiness of the material to be overridden by the settings below.

Highlight glossiness – Specifies the highlight glossiness for the material when the Override option is on. When this is 1.0, the material is a perfect mirror. Lower values make the material glossy. For physically correct materials this should be the same as the Reflection glossiness.

Reflection glossiness – Specifies the reflection glossiness for the material when the Override option is on. For physically correct materials this should be the same as the highlight glossiness. When this is 1.0, the material is a perfect mirror. Lower values make the reflections glossy.

Subdivs – Determines the number of samples for glossy reflections.

Trace reflections – Determines whether reflections will be traced at all.
 

 Scripting

 Add to node:

vray addAttributesFromGroup "blinn1" "vray_materialsGlossiness" 1;

Attributes:

vrayOverride
vrayHilightGlossiness
vrayReflectionGlossiness
vrayGlossySubdivs
vrayTraceReflections

 

Material ID 


 

 

 

Material ID – Specifies a color ID for the current material.

Multimatte ID – Specifies a multimate ID used with MultMatte render element.
 

 Scripting

Add to node:

vray addAttributesFromGroup "VRayMtl1" "vray_material_id" 1;

Attributes:

vrayColorId
vrayMaterialId


Closed Volume Shading


This attribute is available only for VRayMtl, and is a hint to the shader that the volume of the mesh is closed. It's currently used by the fog shader (when refraction is on), to prevent fog leaking in thin areas of the mesh.



 Scripting

 Add to node:

vray addAttributesFromGroup "VRayMtl1" "vray_closed_volume" 1;

Attributes:

vrayClosedVolume



V-Ray Material Override


This group of attributes allows the material to be changed depending on the type of ray. For example, an object can be rendered with one material when looked directly from the camera's view, and with another material when viewed in reflections.



 

Enable All Overrides – Enable/disable all overrides at once.

Enable V-Ray Material Override – Enable/disable the material override for normal/camera rays.

V-Ray MaterialMaterial to be used as the override for normal/camera rays

Enable GI material Override – Enable/disable the material override for global illumination rays.

GI MaterialMaterial to be used as the override for global illumination rays.

Enable Reflection Material Override – Enable/disable the material override for reflection rays.

Reflection MaterialMaterial to be used as the override for reflection rays.

Enable Refraction Material Override – Enable/disable the material override for refraction rays.

Refraction MaterialMaterial to be used as the override for refraction rays.

Enable Shadow Material Override – Enable/disable the material override for shadow rays.

Shadow MaterialMaterial to be used as the override for shadow rays.

Enable Environment Override – Enable/disable the environment override.

Environment Override – Environment override material.

Environment Priority – The priority of this environment override.
 

 Scripting

 Add to node:

vray addAttributesFromGroup "VRayMtl1" "vray_specific_mtl" 1;

Attributes:

vrayEnableAllOverrides
vrayEnableSpecificSurfaceShader
vraySpecificSurfaceShader
vrayEnableGIMaterial
vrayGIMaterial
vrayEnableReflectMaterial
vrayReflectMaterial
vrayEnableRefractMaterial
vrayRefractMaterial
vrayEnableShadowMaterial
vrayShadowMaterial
vrayEnableEnvironmentOverride
vrayMtlEnvironmentOverride
vrayMtlEnvironmentPriority