VRayMtl

This page provides information on the V-Ray Material.


Overview


VRayMtl is a very versatile material that allows for better physically correct illumination (energy distribution) in the scene, faster rendering, and more convenient reflection and refraction parameters. This material can simulate a huge variety of surfaces from plastics to metals to glass and more with a handful of adjustments to the parameters.

Furthermore, with the VRayMtl you can apply different texture maps, control the reflections and refractions, add bump and displacement maps, force direct GI calculations, and choose the BRDF for how light interacts with the surface material.

Find more information about VRayMtl structure at V-Ray Material Structure.


UI Path: ||Material Editor window|| > Material/Map Browser...


||Material Editor|| > Material/Map Browser > Materials > V-Ray > VRayMtl


||V-Ray Toolbar|| > V-Ray Material button

images/download/attachments/60097010/Max2022_VRay6_VRayMtl_Toolbar.png


||V-Ray menu|| > Create > Materials > VRayMtl


images/download/attachments/60097010/HeroImg.jpg


Basic Parameters


Diffuse – Specifies the diffuse color of the material. Note the actual diffuse color of the surface also depends on the Reflect and Refract colors. A texture can be applied to the Maps rollout. See the Energy preservation parameter below.

Roughness – Used to simulate rough surfaces or surfaces covered with dust (for example, skin, or the surface of the moon). A texture can be applied to the Maps rollout. For more information, see the Roughness Parameter below. This parameter is not available when the renderer is set to GPU.

Preset – A drop-down menu with preset values for commonly used materials. See the VRayMtl Presets page for more information. Pr esets use settings that work well (in terms of speed and realism) as a starting point or for general-use cases. However, when a custom scene requires it, further editing the material parameters values works best. For example, Glass and Glass (Tinted) use glossiness values that speed up rendering, but rendering a close-up view of a realistic glass object may require further adjustments . For an in-depth approach, refer to the How-To tutorials .

Non-realistic material presets, such as Chocolate, Plastic, Ceramic, and Rubber are ‘quick’ compared to their realistic (SSS-enabled) counterparts. They can recreate generic plastic for the plastic backs of computer monitors or laptops in a meeting room, or for the car tires in a scene where the cars are somewhere in the distance, etc.

Bump map – Controls the Bump texture used for the material.


images/download/attachments/60097010/Max2023_VRay6_VRayMtl_Basic.png



Example: Roughness


This example demonstrates the effect of the Roughness parameter. Note how, as the Roughness increases, the material appears 'flatter' and dustier.


images/download/attachments/60097010/VRayMtl_Roughness.0001_copy.jpg

Roughness = 0.0

images/download/attachments/60097010/VRayMtl_Roughness.0002_copy.jpg

Roughness = 0.1

images/download/attachments/60097010/VRayMtl_Roughness.0003_copy.jpg

Roughness = 0.2

images/download/attachments/60097010/VRayMtl_Roughness.0004_copy.jpg

Roughness = 0.3

images/download/attachments/60097010/VRayMtl_Roughness.0005_copy.jpg

Roughness = 0.4

images/download/attachments/60097010/VRayMtl_Roughness.0006_copy.jpg

Roughness = 0.5

images/download/attachments/60097010/VRayMtl_Roughness.0007_copy.jpg

Roughness = 0.6

images/download/attachments/60097010/VRayMtl_Roughness.0008_copy.jpg

Roughness = 0.7

images/download/attachments/60097010/VRayMtl_Roughness.0009_copy.jpg

Roughness = 0.8

images/download/attachments/60097010/VRayMtl_Roughness.0010_copy.jpg

Roughness = 0.9

images/download/attachments/60097010/VRayMtl_Roughness.0011_copy.jpg

Roughness = 1.0

0.01.0


Reflection


Reflect – Specifies the amount of reflection and the reflection color. Note that the reflection color dims the diffuse surface color based on the Energy preservation mode option. This parameter can be mapped with a texture in the Maps rollout. For more information, see the Reflection Color example below.

Glossiness – Reflection glossiness. Controls the sharpness of reflections. A value of 1.0 means perfect mirror-like reflection; lower values produce blurry or glossy reflections. For more information, see the Reflection Glossiness example below. If BRDF is set to Use roughness, this option becomes Reflection roughness. For more information, see the V-Ray Roughness page.

Fresnel reflections – When enabled, the reflection strength becomes dependent on the viewing angle of the surface. Some materials in nature (glass, etc.) reflect light in this manner. Fresnel reflections calculation also interpolates glossy reflections and refractions on a 'microfacet' level to ensure more natural effect with less brightening of the grazing edges as the glossiness is decreased. Note that the Fresnel effect depends on the index of refraction as well.

Fresnel IOR – Specifies the IOR to use when calculating Fresnel reflections. Normally this is locked to the Refraction IOR parameter, but it can be unlocked for finer control. This parameter can be mapped with a texture in the Maps rollout. Note that this parameter has no effect on metallic materials with Metalness value of 1.0. For more information, see the Fresnel Option example below.

Metalness – Controls the reflection model of the material from dielectric (metalness 0.0) to metallic (metalness 1.0). Note that intermediate values between 0.0 and 1.0 do not correspond to any physical material. This parameter can be used with PBR setups coming from other applications. For more information, see Understanding Metalness blog post and "Artist Friendly Metallic Fresnel" article by Ole Gulbrandsen. For real-world metal examples and how to set them, see the Metal Shaders page.

Max depth – Specifies the number of times a ray can be reflected. Scenes with lots of reflective and refractive surfaces may require higher values to look right. For more information, see the Reflection Depth example below.

Reflect on back side – When enabled, reflections are computed for back-facing surfaces too. Note that this affects total internal reflections too (when refractions are computed).

Dim distance – Specifies the distance after which the reflection rays are not traced.

Dim fall off – Specifies the fall off radius for the dim distance.

Affect channels – Specifies which channels are affected by the reflection of the material.

Color only – The reflection affects only the RGB channel of the final render.
Color+alpha – The material transmits the alpha of the reflected objects instead of displaying an opaque alpha.
All channels – All channels and render elements are affected by the reflections of the material.

When selecting the Affect All channels option, be aware that the information of the respective component affects all render elements, therefore the Back to Beauty composition will not match the RGB result from the renderer.


images/download/attachments/60097010/Max2023_VRay6_VRayMtl_Reflection.png







Example: Reflection Color


This example demonstrates how the Reflect color parameter controls the reflectivity of the material. Note that this color also acts as a filter for the Diffuse color (e.g. stronger reflections dim the diffuse component).


Example: Fresnel Option


This example demonstrates the effect of the Fresnel reflections option. Note how the strength of the reflection varies with the Fresnel IOR of the material. For this example, the Reflect color is pure white (255, 255, 255).


images/download/attachments/60097010/VRayMtl_Reflect_Color_0.jpg

Reflect = 0, 0, 0

images/download/attachments/60097010/VRayMtl_Reflect_Color_51.jpg

Reflect = 51, 51, 51

images/download/attachments/60097010/VRayMtl_Reflect_Color_102.jpg

Reflect = 102, 102, 102

images/download/attachments/60097010/VRayMtl_Reflect_Color_153.jpg

Reflect = 153, 153, 153

images/download/attachments/60097010/VRayMtl_Reflect_Color_204.jpg

Reflect = 204, 204, 204

images/download/attachments/60097010/VRayMtl_Reflect_Color_255.jpg

Reflect = 255, 255, 255

Black (0, 0, 0)White (255, 255, 255)

images/download/attachments/60097010/Fresnel_IOR1.6.jpg

Fresnel IOR = 1.6

images/download/attachments/60097010/Fresnel_IOR2.2.jpg

Fresnel IOR = 2.2

images/download/attachments/60097010/Fresnel_IOR2.8.jpg

Fresnel IOR = 2.8

images/download/attachments/60097010/Fresnel_IOR3.4.jpg

Fresnel IOR = 3.4

images/download/attachments/60097010/Fresnel_IOR4.jpg

Fresnel IOR = 4.0

images/download/attachments/60097010/Fresnel_IOR4.6.jpg

Fresnel IOR = 4.6

images/download/attachments/60097010/Fresnel_IOR5.2.jpg

Fresnel IOR = 5.2

images/download/attachments/60097010/Fresnel_IOR5.8.jpg

Fresnel IOR = 5.8

images/download/attachments/60097010/Fresnel_IOR6.4.jpg

Fresnel IOR = 6.4

images/download/attachments/60097010/Fresnel_IOR7.jpg

Fresnel IOR = 7.0

images/download/attachments/60097010/Fresnel_IOR7.6.jpg

Fresnel IOR = 7.6

1.67.6



Example: Reflection Glossiness

This example demonstrates how the Glossiness parameter controls the highlights and reflection blurriness of the material. Fresnel IOR = 3.5.


Example: Reflection Depth


This example demonstrates the effect of the reflection Max depth parameter.


images/download/attachments/60097010/VRayMtl_Refl255_Fr3p5_Glossiness_0.jpg

Glossiness = 0.0

images/download/attachments/60097010/VRayMtl_Refl255_Fr3p5_Glossiness_0p1.jpg

Glossiness = 0.1

images/download/attachments/60097010/VRayMtl_Refl255_Fr3p5_Glossiness_0p2.jpg

Glossiness = 0.2

images/download/attachments/60097010/VRayMtl_Refl255_Fr3p5_Glossiness_0p3.jpg

Glossiness = 0.3

images/download/attachments/60097010/VRayMtl_Refl255_Fr3p5_Glossiness_0p4.jpg

Glossiness = 0.4

images/download/attachments/60097010/VRayMtl_Refl255_Fr3p5_Glossiness_0p5.jpg

Glossiness = 0.5

images/download/attachments/60097010/VRayMtl_Refl255_Fr3p5_Glossiness_0p6.jpg

Glossiness = 0.6

images/download/attachments/60097010/VRayMtl_Refl255_Fr3p5_Glossiness_0p7.jpg

Glossiness = 0.7

images/download/attachments/60097010/VRayMtl_Refl255_Fr3p5_Glossiness_0p8.jpg

Glossiness = 0.8

images/download/attachments/60097010/VRayMtl_Refl255_Fr3p5_Glossiness_0p9.jpg

Glossiness = 0.9

images/download/attachments/60097010/VRayMtl_Refl255_Fr3p5_Glossiness_1.jpg

Glossiness = 1.0

0.01.0

images/download/attachments/60097010/reflect1_copy.jpg

Reflection Max depth = 1

images/download/attachments/60097010/reflect2_copy.jpg

Reflection Max depth = 2

images/download/attachments/60097010/reflect3_copy.jpg

Reflection Max depth = 3

images/download/attachments/60097010/reflect4_copy.jpg

Reflection Max depth = 4

images/download/attachments/60097010/reflect5_copy.jpg

Reflection Max depth = 5

images/download/attachments/60097010/reflect10_copy.jpg

Reflection Max depth = 10

110

Refraction


Refract – Specifies the amount of refraction and the refraction color. Any value above zero enables refraction. Note that the actual refraction color depends on the Reflect color as well. This parameter can be mapped with a texture in the Maps rollout. For more information, see the Refraction Color example below.

Glossiness – Controls the sharpness of refractions. A value of 1.0 means perfect glass-like refraction; lower values produce blurry or glossy refractions. For more information, see the Refraction Glossiness example below.

IOR – Specifies the index of refraction for the material, which describes the way light bends when crossing the material surface. A value of 1.0 means the light does not change direction. This parameter can be mapped with a texture in the Maps rollout. For more information, see the Refraction IOR example below.

Abbe number – Increases or decreases the dispersion effect. Enabling this option and lowering the value widens the dispersion and vice versa. For more information, see the Abbe Number example below.

Affect Channels – Specifies which channels are affected by the transparency of the material.

Color Only – The transparency affects only the RGB channel of the final render.
Color+alpha – The material transmits the alpha of the refracted objects instead of displaying an opaque alpha. Note that currently, this works only with clear (non-glossy) refractions.
All channels – All channels and render elements are affected by the transparency of the material.

When selecting the Affect All channels option, be aware that the information of the respective component affects all render elements, therefore the Back to Beauty composition will not match the RGB result from the renderer.

Max depth – Specifies the number of times a ray can be refracted. Scenes with lots of refractive and reflective surfaces may require higher values to look right. For more information, see the Refraction Depth example below.

Affect shadows – When enabled, the material casts transparent shadows to create a simple caustic effect dependent on the refraction color and the fog color. For accurate caustic calculations, disable this parameter and instead enable Caustics in the GI tab. Simultaneous usage of both Caustics and Affects Shadows can be used for artistic purposes but do not produce a physically correct result. This only works with V-Ray shadows and lights.

Thin-walled – (intended for single-surface transparent materials) When enabled and the Translucency mode is set to SSS, it simulates thin translucent surfaces such as soap bubble, leaves, curtains, etc. The SSS color defines the backside color, while the SSS amount controls the translucency effect.


images/download/attachments/60097010/Max2023_VRay6_VRayMtl_Refraction.png






Example: Refraction Color


This example demonstrates the effect of the Refract color parameter to produce glass materials. For the images in this example, the material has a gray Diffuse color, white Reflect color, and the Fresnel Reflections option is enabled.


Example: Refraction IOR


This example demonstrates the effect of the Refraction IOR parameter. Note how light bends more as the IOR deviates from 1.0. When the index of refraction (IOR) is 1.0, the render produces a transparent object. Note, however, that in the case of transparent objects, it might be better to assign an opacity map to the material rather than use refraction.


images/download/attachments/60097010/VRayMtl_Refraction_color_1-11.0001_copy.jpg

Refraction Color = 0, 0, 0

images/download/attachments/60097010/VRayMtl_Refraction_color_1-11.0002_copy.jpg

Refraction Color = 26, 26, 26

images/download/attachments/60097010/VRayMtl_Refraction_color_1-11.0003_copy.jpg

Refraction Color = 51, 51, 51

images/download/attachments/60097010/VRayMtl_Refraction_color_1-11.0004_copy.jpg

Refraction Color = 77, 77, 77

images/download/attachments/60097010/VRayMtl_Refraction_color_1-11.0005_copy.jpg

Refraction Color = 102, 102, 102

images/download/attachments/60097010/VRayMtl_Refraction_color_1-11.0006_copy.jpg

Refraction Color = 128, 128, 128

images/download/attachments/60097010/VRayMtl_Refraction_color_1-11.0007_copy.jpg

Refraction Color = 153, 153, 153

images/download/attachments/60097010/VRayMtl_Refraction_color_1-11.0008_copy.jpg

Refraction Color = 179, 179, 179

images/download/attachments/60097010/VRayMtl_Refraction_color_1-11.0009_copy.jpg

Refraction Color = 204, 204, 204

images/download/attachments/60097010/VRayMtl_Refraction_color_1-11.0010_copy.jpg

Refraction Color = 230, 230, 230

images/download/attachments/60097010/VRayMtl_Refraction_color_1-11.0011_copy.jpg

Refraction Color = 255, 255, 255

Black (0, 0, 0)White (255, 255, 255)

images/download/attachments/60097010/VRayMtl_Refraction_IOR_.0001_copy.jpg

Refraction IOR = 0.80

images/download/attachments/60097010/VRayMtl_Refraction_IOR_.0002_copy.jpg

Refraction IOR = 1.00

images/download/attachments/60097010/VRayMtl_Refraction_IOR_.0003_copy.jpg

Refraction IOR = 1.20

images/download/attachments/60097010/VRayMtl_Refraction_IOR_.0004_copy.jpg

Refraction IOR = 1.40

images/download/attachments/60097010/VRayMtl_Refraction_IOR_.0005_copy.jpg

Refraction IOR = 1.60

images/download/attachments/60097010/VRayMtl_Refraction_IOR_.0006_copy.jpg

Refraction IOR = 1.80

images/download/attachments/60097010/VRayMtl_Refraction_IOR_.0007_copy.jpg

Refraction IOR = 2.00

images/download/attachments/60097010/VRayMtl_Refraction_IOR_.0008_copy.jpg

Refraction IOR = 2.20

images/download/attachments/60097010/VRayMtl_Refraction_IOR_.0009_copy.jpg

Refraction IOR = 2.40

images/download/attachments/60097010/VRayMtl_Refraction_IOR_.0010_copy.jpg

Refraction IOR = 2.60

images/download/attachments/60097010/VRayMtl_Refraction_IOR_.0011_copy.jpg

Refraction IOR = 2.80

0.802.80



Example: Refraction Glossiness


This example demonstrates the effect of the refraction Glossiness parameter. Note how lower refraction Glossiness values blur the refractions and cause the material to appear as frosted glass.


Example: Refraction Depth


This example demonstrates the effect of the refraction Max depth parameter. Note how too low of a refraction depth produces incorrect results. Also, in the last two examples, note how areas with total internal reflection are also affected by the Reflection Max depth.


images/download/attachments/60097010/VRayMtl_Roughness.exrVRayMtl_Refraction_Glossiness.0011_copy.jpg

Refraction Glossiness = 0.0

images/download/attachments/60097010/VRayMtl_Roughness.exrVRayMtl_Refraction_Glossiness.0010_copy.jpg

Refraction Glossiness = 0.1

images/download/attachments/60097010/VRayMtl_Roughness.exrVRayMtl_Refraction_Glossiness.0009_copy.jpg

Refraction Glossiness = 0.2

images/download/attachments/60097010/VRayMtl_Roughness.exrVRayMtl_Refraction_Glossiness.0008_copy.jpg

Refraction Glossiness = 0.3

images/download/attachments/60097010/VRayMtl_Roughness.exrVRayMtl_Refraction_Glossiness.0007_copy.jpg

Refraction Glossiness = 0.4

images/download/attachments/60097010/VRayMtl_Roughness.exrVRayMtl_Refraction_Glossiness.0006_copy.jpg

Refraction Glossiness = 0.5

images/download/attachments/60097010/VRayMtl_Roughness.exrVRayMtl_Refraction_Glossiness.0005_copy.jpg

Refraction Glossiness = 0.6

images/download/attachments/60097010/VRayMtl_Roughness.exrVRayMtl_Refraction_Glossiness.0004_copy.jpg

Refraction Glossiness = 0.7

images/download/attachments/60097010/VRayMtl_Roughness.exrVRayMtl_Refraction_Glossiness.0003_copy.jpg

Refraction Glossiness = 0.8

images/download/attachments/60097010/VRayMtl_Roughness.exrVRayMtl_Refraction_Glossiness.0002_copy.jpg

Refraction Glossiness = 0.9

images/download/attachments/60097010/VRayMtl_Roughness.exrVRayMtl_Refraction_Glossiness.0001_copy.jpg

Refraction Glossiness = 1.0

0.01.0

images/download/attachments/60097010/refract1_copy.jpg

Refraction Max depth = 1

images/download/attachments/60097010/refract2_copy.jpg

Refraction Max depth = 2

images/download/attachments/60097010/refract3_copy.jpg

Refraction Max depth = 3

images/download/attachments/60097010/refract4_copy.jpg

Refraction Max depth = 4

images/download/attachments/60097010/refract5_copy.jpg

Refraction Max depth = 5

images/download/attachments/60097010/refract10_copy.jpg

Refraction Max depth = 10

110


Example: Abbe Number


This example demonstrates the dispersion capabilities of the V-Ray material and the effect of the Abbe number parameter.


images/download/attachments/60097010/VRayMtl_Abbe0010.jpg

Abbe Number = 1

images/download/attachments/60097010/VRayMtl_Abbe0009.jpg

Abbe Number = 2

images/download/attachments/60097010/VRayMtl_Abbe0008.jpg

Abbe Number = 3

images/download/attachments/60097010/VRayMtl_Abbe0007.jpg

Abbe Number = 4

images/download/attachments/60097010/VRayMtl_Abbe0006.jpg

Abbe Number = 5

images/download/attachments/60097010/VRayMtl_Abbe0005.jpg

Abbe Number = 6

images/download/attachments/60097010/VRayMtl_Abbe0004.jpg

Abbe Number = 7

images/download/attachments/60097010/VRayMtl_Abbe0003.jpg

Abbe Number = 8

images/download/attachments/60097010/VRayMtl_Abbe0002.jpg

Abbe Number = 9

images/download/attachments/60097010/VRayMtl_Abbe0001.jpg

Abbe Number = 10

110



Translucency


Translucency – Selects the algorithm for calculating translucency (also called sub-surface scattering). Note that refraction must be enabled for this effect to be visible.

None – When selected, the only available parameters are the Fog color and Fog depth. Together with the Refraction color, they determine the attenuation of light as it passes through the material. In this mode, there is no subsurface scattering.

Error rendering macro 'scroll-html-expand'

Problem executing proxy for macro 'expand'. Check the log.

Volumetric – Works together with the Refraction color of the material to scatter light inside the object. It is useful for liquids and other highly transparent materials. The Refraction color and Refraction glossiness determine respectively how much of the interior of the object is visible and how rays interact with the object’s surface.

Error rendering macro 'scroll-html-expand'

Problem executing proxy for macro 'expand'. Check the log.

SSS – Useful for skin, wax, marble and other relatively opaque materials.

Error rendering macro 'scroll-html-expand'

Problem executing proxy for macro 'expand'. Check the log.

With V-Ray 5, update 1, the translucency modes for VRayMtl are updated based on the volumetric random walk code originally developed for the VRayScatterVolume material. However, the implementation in the VRayMtl is updated and slightly more advanced compared to VRayScatterVolume. The old translucency modes are still there and will be shown if scenes with a VRayMtl that uses one of them is loaded. With newly created materials, only the new two modes are available.

As the new translucency modes perform multibounce volumetric light scattering, they require closed objects.

The new translucency modes require GI with minimum 16 bounces (brute force or light cache). They also require the Affect shadows option of the material to be enabled.



Error rendering macro 'scroll-html-expand'

Problem executing proxy for macro 'expand'. Check the log.

None

Fog color – Specifies the attenuation of light as it passes through the material. This option allows you to simulate the fact that thick objects look less transparent than thin objects. Note that the effect of the fog color depends on the absolute size of the objects and is therefore scene-dependent unless the Fog system units scaling is enabled. This parameter also determines the look of the object when using translucency. This parameter can be mapped with a texture in the Maps rollout. It is recommended that you use a 3D texture for the purpose. For more information, see the Fog Color example below.

Depth (cm) – Controls the strength of the fog effect. Higher values reduce the effect of the fog, making the material more transparent. Smaller values increase the fog effect, making the material more opaque. For more information, see the None (Depth) example below.

The Depth parameter replaces the previous Fog multiplier with an easier to control value in centimeters.

Volumetric

Fog color – Controls the absorption of the material.

Depth (cm) – Controls the strength of the fog effect. Higher values reduce the effect of the fog, making the material more transparent. Smaller values increase the fog effect, making the material more opaque.

Illumination – Determines how direct illumination is computed for sub-surface scattering.

Directional – The directional method tends to propagate more light in the direction from which the surface is lit.

Uniform – The uniform method spreads light more uniformly inside the material.

The directional method requires the affect shadows option to be enabled so that shadows extend below the surface.

Scatter color – Controls the scattering. For more information, see the Scatter Color example below.

SSS amount – Blends between full scattering and pure refraction.

SSS

Scatter radius – Controls how far each of the red/green/components travels inside the volume.

Scale (cm) – Controls the strength of the SSS effect. For more information, see the Scale (cm) example below.

Illumination Determines how direct illumination is computed for sub-surface scattering.

Directional – The directional method tends to propagate more light in the direction from which the surface is lit.

Uniform – The uniform method spreads light more uniformly inside the material. Note that it is not supported on V-Ray GPU.

The directional method requires the affect shadows option to be enabled so that shadows extend below the surface.

SSS color – Determines the overall surface appearance.

SSS amount – Blends between the diffuse color of the material and the SSS effect by reducing the diffuse component of the material and replacing it with the sub-surface scattering effect.


images/download/attachments/60097010/Max2023_VRay6_VRayMtl_Translucency.png

None

images/download/attachments/60097010/Max2023_VRay6_VRayMtl_Volumetric.png

Volume translucency mode

images/download/attachments/60097010/Max2023_VRay6_VRayMtl_SSS.png

SSS translucency mode

V-Ray provides several other ways to achieve sub-surface scattering, for example the VRayFastSSS2 and VRayALMtl materials. These materials use various approximations for the sub-surface scattering effect in order to speed up the calculations. In many cases they produce a decent result. However in more complicated scenarios, the approximations may be inaccurate.

Error rendering macro 'scroll-html-expand'

Problem executing proxy for macro 'expand'. Check the log.

The new translucency modes perform actual volumetric multibounce scattering inside the object, therefore they are influenced by the actual geometry quite a bit. Widely used 'cheats' like smooth surface normals may not be enough for low-poly meshes, especially with small scatter radius. In this case, subdividing the mesh either using V-Ray subdivision or e.g. the Turbosmooth modifier improves the results. V-Ray subdivision is slower to render, but is able to tessellate the mesh in a view-dependent manner without having to guess the number of subdiv iterations.



Example: None (Depth)


This example demonstrates the effect of the Depth parameter. Translucency is set to None.


images/download/attachments/60097010/01_Depth_5cm.jpg

Depth = 5

images/download/attachments/60097010/02_Depth_2cm.jpg

Depth = 2

images/download/attachments/60097010/03_Depth_05cm.jpg

Depth = 0.5

images/download/attachments/60097010/04_Depth_02cm.jpg

Depth = 0.2

images/download/attachments/60097010/05_Depth_01cm.jpg

Depth = 0.1



Example: Fog Color


This example demonstrates the effect of the Fog color parameter. Notice that we are changing the hue value of the Fog color. Translucency is set to None.


images/download/attachments/60097010/Color_1.jpg

Fog color (HSV) Hue = 42

images/download/attachments/60097010/Color_2.jpg

Fog color (HSV) Hue = 245

images/download/attachments/60097010/Color_3.jpg

Fog color (HSV) Hue = 128

images/download/attachments/60097010/Color_4.jpg

Fog color (HSV) Hue = 196

images/download/attachments/60097010/Color_5.jpg

Fog color (HSV) Hue = 17






Example: Scatter Color


This example demonstrates the effect of the Scatter color parameter. Translucency is set to Volumetric.



images/download/attachments/60097010/Vol_scatter_color_01.jpg

Scatter color = RGB (250, 20, 30)

images/download/attachments/60097010/Vol_scatter_color_02.jpg

Scatter color = RGB (220, 115, 22)

images/download/attachments/60097010/Vol_scatter_color_03.jpg

Scatter color = RGB (240, 202, 23)

images/download/attachments/60097010/Vol_scatter_color_04.jpg

Scatter color = RGB (250, 236, 5)

images/download/attachments/60097010/Vol_scatter_color_05.jpg

Scatter color = RGB (49, 1, 1)





Example: Scale (cm)


This example demonstrates the effect of the Scale (cm) parameter. Translucency is set to SSS.



images/download/attachments/60097010/SSS_scale_1cm.jpg

Scale (cm) = 1 cm

images/download/attachments/60097010/SSS_scale_2cm.jpg

Scale (cm) = 2 cm

images/download/attachments/60097010/SSS_scale_5cm.jpg

Scale (cm) = 5 cm

images/download/attachments/60097010/SSS_scale_10cm.jpg

Scale (cm) = 10 cm

images/download/attachments/60097010/SSS_scale_15cm.jpg

Scale (cm) = 15 cm


Self-Illumination


Self-Illumination – Controls the emission of the surface. This parameter can be mapped with a texture in the Maps rollout.

GI – When enabled, the self-illumination affects global illumination rays and allows the surface to cast light on nearby objects. Note, however, that it may be more efficient to use area lights or VRayLightMtl material for this effect.

Mult – Specifies a multiplier for the self-illumination effect. This is useful for boosting the self-illumination values so that the surface produces stronger illumination with GI.

Compensate camera exposure – When enabled, the intensity of the Self-Illumination is adjusted to compensate the exposure correction from the physical camera.


images/download/attachments/60097010/Max2023_VRay6_VRayMtl_SelfIllumination.png

Coat


Coat amount – Specifies the blending weight of the coat layer. A value of 0 does not add a coat layer, while higher values blend the coat gradually.

Coat glossiness – Controls the sharpness of reflection. A value of 1.0 means perfect glass-like reflection; lower values produce blurry or glossy reflections.

Coat IOR – Specifies the Index of Refraction for the coat layer.

Coat color – Determines the coat layer's color. A texture map can be used here.

Lock coat bump to base bump – When enabled, it prioritizes the base bump map during rendering over the coat bump map. You can use it to temporarily hide the coat bump.

Coat bump – Controls the texture used for the coat layer.

images/download/attachments/60097010/Max2023_VRay6_VRayMtl_Coat.png




Example: Coat Color


The example below shows how the Coat color affects the Diffuse, Reflection and Specular layers. The Diffuse color is set to light red and the Reflection color is white. In the first render, the coat layer is disabled. In the second render the Coat color is the default white, and in the third one - yellow.


images/download/attachments/60097010/CoatColor_noCoat.jpg

no Coat layer

images/download/attachments/60097010/CoatColor_default.jpg

Coat Color = default white

images/download/attachments/60097010/CoatColor_yellow.jpg

Coat Color = yellow: rgb (255, 255,0)




The image sliders show the respective render channels with the Coat Color set to default white and yellow. Notice how the specular highlights remain white regardless of the coat color.


Specular Channelwhiteyellow

images/download/attachments/60097010/Specular_white.jpg

images/download/attachments/60097010/Specular_yellow.jpg

Reflection Channelwhiteyellow

images/download/attachments/60097010/Reflection_white.jpg

images/download/attachments/60097010/Reflection_yellow.jpg



Thin Film


Thin Film recreates the effect of thin film interference on a surface making the material iridescent. Some common uses are soap bubbles and reflective car paint layering.

Enable thin film – Turns on/off the thin film effect.

IOR – Specifies the reflective index of the thin film. A map can be attached to this slot. For more information, see the Thin Film IOR example below.

Min thickness (nm) – Determines the minimum thickness of the thin film. For more information, see the Thin Film Thickness example below.

Max thickness (nm) – Determines the maximum thickness of the thin film. A map can be used to blend between the Min and Max thickness parameters, and is expected to be in the range of 0-1. If there is no texture map, only the Min thickness value is used.


images/download/attachments/60097010/Max2023_VRay6_VRayMtl_ThinFilm.png





Example: Thin Film Thickness


This example shows how the Min thickness parameter affects the V-Ray material. The Thin Film IOR is set to 1.4.

images/download/attachments/60097010/Final_noFilm.jpg

Min thickness = 0

images/download/attachments/60097010/Final_300Film.jpg
Min thickness = 300

images/download/attachments/60097010/Final_450Film.jpg
Min thickness = 450

images/download/attachments/60097010/Final_600Film.jpg

Min thickness = 600





Example: Thin Film IOR


This example shows how the thin film IOR parameter affects the V-Ray material. For more information, see the How to Create Iridescent Materials with VRayMtl Thin Film Layer tutorial.

images/download/attachments/60097010/thinIOR_example0200.png

IOR = 2.0

images/download/attachments/60097010/thinIOR_example0210.png

IOR = 2.1

images/download/attachments/60097010/thinIOR_example0220.png

IOR = 2.2

images/download/attachments/60097010/thinIOR_example0230.png

IOR = 2.3

images/download/attachments/60097010/thinIOR_example0240.png

IOR = 2.4

images/download/attachments/60097010/thinIOR_example0250.png

IOR = 2.5

images/download/attachments/60097010/thinIOR_example0260.png

IOR = 2.6

images/download/attachments/60097010/thinIOR_example0270.png

IOR = 2.7

images/download/attachments/60097010/thinIOR_example0280.png

IOR = 2.8

images/download/attachments/60097010/thinIOR_example0290.png

IOR = 2.9

images/download/attachments/60097010/thinIOR_example0300.png

IOR = 3.0



Sheen


The Sheen layer can be used for creation of cloth material, such as satin. Sheen layer is a top reflective layer to the diffuse color.

Sheen color – Specifies the color of the sheen layer.

Sheen glossiness – Controls the sharpness of reflections. A value of 1.0 means all of the light reaches the diffuse color, and when the value is smaller, the cloth material looks glossier. For more information, see the Sheen Glossiness example below.

The Sheen component respects the Preserve energy option that can be found in VRayMtl > Options > Preserve energy .


images/download/attachments/60097010/Max2023_VRay6_VRayMtl_Sheen.png



Example: Sheen Glossiness


This example shows how changing the glossiness parameter of the sheen layer affects the material. A smaller value makes the sheen layer reflect most of the light. Increasing the value allows more light to reach the diffuse component.


images/download/attachments/60097010/Sheen_Glossiness_01.png

Glossiness = 0.1

images/download/attachments/60097010/Sheen_Glossiness_03.png

Glossiness = 0.3

images/download/attachments/60097010/sheen_Glossiness_06.png

Glossiness = 0.6

images/download/attachments/60097010/sheenmtl_1Defaultparams.png

Glossiness = 0.8

images/download/attachments/60097010/Sheen_Glossiness_09.png

Glossiness = 0.9

0.10.9





BRDF


BRDF parameters determine the type of the highlights and glossy reflections for the material. The parameters have an effect only if the reflection color is different from black and reflection glossiness is different than 1.0.

Type – Determines the type of BRDF (the shape of the highlight). For more information, see the BRDF Type Example below.

Phong – Phong highlight/reflections. Specular highlights have a bright center with no falloff.
Blinn – Blinn highlight/reflections. Specular highlights have a bright center with a tight falloff.
Ward – Ward highlight/reflections. Specular highlights have a bright center with a falloff broader than Blinn, but tighter than Microfacet GTR (GGX).
Microfacet GTR (GGX) – GGX highlight/reflections. Specular highlights have a bright center with a longer falloff.

GGX is the most modern and flexible BRDF type and is able to better represent a broad range of materials thanks to its ability to control the shape of the specular lobe.

There currently isn't any particular performance difference between models and there is little reason to choose any of the other types.


Error rendering macro 'scroll-html-expand'

Problem executing proxy for macro 'expand'. Check the log.

Use glossiness / Use roughness – These options control how Reflection Glossiness is interpreted. When Use glossiness is selected, the Glossiness value is used as is, and a high Glossiness value (such as 1.0) results in sharp reflection highlights. When Use roughness is selected, the Reflection Glossiness inverse value is used. For example, if Reflection Glossiness is set to 1.0 and Use roughness is selected, this results in diffuse shading. Conversely, if Glossiness is set to 0.0 and Use roughness is selected, this results in sharp reflection highlights. Note that the Roughness parameter itself has no bearing on the results of this option.

GTR tail falloff – Controls the transition from highlighted areas to non-highlighted areas when the BRDF type is set to Microfacet GTR (GGX).

Anisotropy – D etermines the shape of the highlight. A value of 0.0 means isotropic highlights. Negative and positive values simulate 'brushed' surfaces. The accepted values are in the range from 0.99 to -0.99. For more information, see the Anisotropy example below.

Rotation – Determines the orientation of the anisotropic effect in degrees. For more information, see the Anisotropy example below.

Local axis – When enabled, the orientation of the anisotropic highlight is based on the object's local X, Y, or Z axis.

Map channel – When enabled, the orientation of the anisotropic highlight is based on the specified map channel.


images/download/attachments/60097010/Max2023_VRay6_VRayMtl_BRDF.png


Example: BRDF Type


The following examples demonstrate the different Types of BDRF.

images/download/attachments/60097010/VRayMtl_GGX.jpg

Type: Microfacet GTR (GGX)

Modern versatile BRDF type suitable for all kinds of materials.

images/download/attachments/60097010/VRayMtl_Phong.jpg

Type: Phong

Best used for plastic surfaces.

images/download/attachments/60097010/VRayMtl_Blinn.jpg

Type: Blinn

Multi-purpose BDRF suitable for many common materials.

images/download/attachments/60097010/VRayMtl_Ward.jpg

Type: Ward

Useful for cloth materials and chalk-like surfaces.

Slide to change BRDF type.




Example: Anisotropy


This example demonstrates the effect of the Anisotropy and Rotation parameters, which determines the shape of the highlight. For the examples below the Type was set to Microfacet GTR (GGX).

images/download/attachments/60097010/VRayMtl_Anisotropy_-0p8.jpg

Anisotropy = -0.8

images/download/attachments/60097010/VRayMtl_Anisotropy_-0p6.jpg

Anisotropy = -0.6

images/download/attachments/60097010/VRayMtl_Anisotropy_-0p4.jpg

Anisotropy = -0.4

images/download/attachments/60097010/VRayMtl_Anisotropy_-0p2.jpg

Anisotropy = -0.2

images/download/attachments/60097010/VRayMtl_Anisotropy_0.jpg

Anisotropy = 0.0

images/download/attachments/60097010/VRayMtl_Anisotropy_0p2.jpg

Anisotropy = 0.2

images/download/attachments/60097010/VRayMtl_Anisotropy_0p4.jpg

Anisotropy = 0.4

images/download/attachments/60097010/VRayMtl_Anisotropy_0p6.jpg

Anisotropy = 0.6

images/download/attachments/60097010/VRayMtl_Anisotropy_0p8.jpg

Anisotropy = 0.8

-0.80.8

images/download/attachments/60097010/VRayMtl_Rotation_0.jpg

Rotation = 0

images/download/attachments/60097010/VRayMtl_Rotation_18.jpg

Rotation = 18

images/download/attachments/60097010/VRayMtl_Rotation_36.jpg

Rotation = 36

images/download/attachments/60097010/VRayMtl_Rotation_54.jpg

Rotation = 54

images/download/attachments/60097010/VRayMtl_Rotation_72.jpg

Rotation = 72

images/download/attachments/60097010/VRayMtl_Rotation_90.jpg

Rotation = 90

images/download/attachments/60097010/VRayMtl_Rotation_108.jpg

Rotation = 108

images/download/attachments/60097010/VRayMtl_Rotation_126.jpg

Rotation = 126

images/download/attachments/60097010/VRayMtl_Rotation_144.jpg

Rotation = 144

images/download/attachments/60097010/VRayMtl_Rotation_162.jpg

Rotation = 162

images/download/attachments/60097010/VRayMtl_Rotation_180.jpg

Rotation = 180

0180

Options


Trace reflections – When disabled, reflections are not traced even if the reflection color is greater than black. This can be disabled to produce only highlights. Note that when disabling this parameter the diffuse color is not dimmed by the reflection color, as would happen normally.

Trace refractions – When disabled, refractions are not traced even if the refraction color is greater than black.

Cutoff – Specifies a threshold below which reflections/refractions are not traced. V-Ray tries to estimate the contribution of reflections/refractions to the image, and if it is below this threshold, these effects are not computed. Do not set this to 0.0 as it may cause excessively long render times in some cases. This parameter is not available when the renderer is set to GPU.

Env. priority – Determines the environment to use if a reflected or refracted ray goes through several materials, each of which has an environment override.

Double-sided When enabled, V-Ray calculates separately the shading for the back faces of surfaces with this material. W hen disabled, the back faces are shaded the same as the front faces.

Use irradiance map – When enabled, the irradiance map is used to approximate diffuse indirect illumination for the material. When disabled, brute force GI is used in which case the quality of the brute force GI is determined by the Subdivs parameter of the Irradiance Map. This can be used for objects in the scene which have small details and are not approximated very well by the irradiance map. This parameter is not available when the renderer is set to GPU.

Fog system units scaling – When enabled, the fog color attenuation becomes dependent on the current system units. For more information, see the Fog System Units Scaling example below.

Effect ID – When enabled, specifies input values for Material ID for the override material effect.

Preserve energy – Determines how the diffuse, reflection, and refraction color affect each other. V-Ray tries to keep the total amount of light reflected off a surface to be less than or equal to the light falling on the surface (as this happens in the real life). For this purpose, the following rule is applied: the reflection level dims the diffuse and refraction levels (a pure white reflection removes any diffuse and refraction effects), and the refraction level dims the diffuse level (a pure white refraction color removes any diffuse effects). This parameter determines whether the dimming happens separately for the RGB components or is based on the intensity. For more information, see the Energy Preservation Mode example below.

RGB – Causes dimming to be performed separately on the RGB components. For example, a pure white diffuse color and pure red reflection color give a surface with cyan diffuse color (because the red component is already taken by the reflection).
Monochrome – Causes dimming to be performed based on the intensity of the diffuse/reflection/refraction levels.

Opacity mode – Controls how opacity is sampled. For more information, see the Opacity mode parameter example below. This parameter is not available when the renderer is set to GPU.

Normal – (Legacy) The opacity map is evaluated as normal: the surface lighting is computed and the ray is continued for the transparent effect. The opacity texture is filtered as normal.
Clip – (Very fast) The opacity texture is not filtered and it is clipped to either fully opaque or fully transparent based on the mid-point value. Useful when there are many transparent surfaces one behind the other like leaves.
Stochastic
– (Optimal) The opacity texture is filtered and the surface is randomly shaded as either fully opaque or fully transparent for a correct average appearance.

Currently, setting the Opacity mode to Clip also disables bump mapping within the material. A workaround is to load the opacity map through a VRayBitmap texture map and the bump mapping will render properly.


images/download/attachments/60097010/Max2023_VRay6_VRayMtl_Options.png



Example: Fog System Units Scaling


This example demonstrates the usage of the Fog system units scaling check box. The teapot in the scene has a radius of four meters. When the Fog system units scaling is disabled we can see through the teapot. However when we enable the Fog system units scaling, the real size of the object is taken into consideration, and we can see that the light is absorbed to a much greater extent.


OffOn

images/download/attachments/60097010/Fog_system_units_scale_off.jpg

images/download/attachments/60097010/Fog_system_units_scale_on.jpg




Example: Energy Preservation Mode


This example demonstrates how the Energy preservation mode controls the way reflections dim the diffuse color.RGBMonochrome

images/download/attachments/60097010/RGB-128.128.128.jpg

images/download/attachments/60097010/MONO-128.128.128.jpg

Reflect = Medium Gray.

(128, 128, 128)RGBMonochrome

images/download/attachments/60097010/RGB-0.128.0.jpg

images/download/attachments/60097010/MONO-0.128.0.jpg

Reflect= Medium Green.

(0, 128, 0)


Example: Opacity mode


The renders below show a close-up of the tree to better show the effect of the different modes. Note that in the first two renders the opacity is blurry because of the texture filtering.

images/download/attachments/60097010/Normal_fr.jpg

Opacity mode = Normal
The opacity texture is filtered and the result is nice and smooth but very slow.

images/download/attachments/60097010/Stochastic_fr.jpg

Opacity mode = Stochastic
The texture is still filtered, so the result is smooth but render times are greatly improved.

images/download/attachments/60097010/Clip_fr.jpg

Opacity mode = Clip
The texture is forced to black or white; the render is very fast, but the result is sharper and may increase flickering in animation.

Slide to change the Opacity mode.


Maps


The settings on the Maps rollout determine the various texture maps used by the material.

Most of the parameters in this rollout pertain directly to parameters in the VRayMtl, and their definitions can be found in the Basic parameters and BRDF rollouts. The following parameters might not have such obvious definitions.

Reflect – This map slot sets the degree of reflectivity for the material. This functionality differs from the Reflection map slot for a Standard material, where a bitmap image can be set as the environment to reflect. To set an environment image to be reflected, use the Environment slot.

An. Rotation – The Rotation parameter in the BRDF rollout.

Translucent – Sets the degree of translucency when the Translucency option in the Basic parameters rollout is set to a selection other than None.

Environment – Specifies an environment map to use for reflections instead of the environment map for the scene. This is similar to placing a map in the Reflection slot of a Standard 3ds Max material.


images/download/attachments/60097010/Max2023_VRay6_VRayMtl_Maps.png

Notes


  • Use the VRayMtl whenever possible in your scenes. This material is specifically optimized for V-Ray and often GI and lighting is computed much faster for V-Ray materials than for standard 3ds Max materials. Many V-Ray features (e.g. Light Cache, render elements) are guaranteed to work properly only with VRayMtl and other V-Ray compliant materials.

  • VRayMtl can produce reflections/refractions for matte objects – see VRayMtlWrapper.

  • There's currently a known issue with setting the Opacity mode to Clip and bump mapping not rendering properly on a material. A workaround is to load the opacity map through a VRayBitmap texture map.

  • Note that Sheen, Coat and Reflection components are affected by the following parameters: Use roughness, Trace Reflections, Max Depth, Dim Distance, Dim Falloff, Reflect on Back Side, Affect Channels.

  • Since V-Ray 6 Fresnel reflections always include glossy Fresnel algorithm. Therefore, the Glossy Fresnel option is hidden from UI for VRayMtl and VRayToon materials.