Versions Compared

Key

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

This page provides information on the Blend Material.

 

Overview

...

Section
Column
width60%

VRayBlendMtl can be used to layer several V-Ray compatible materials in an efficient manner. VRayBlendMtl takes full advantage of the shading pipeline of the V-Ray renderer and is typically faster than the standard Blend, Shellac, and Composite materials of 3ds Max. It also keeps the physical correctness of the final material while offering similar functionality to the standard 3ds Max ones. It can be used to create complex materials like car paints, human skin (when used with VRayFastSSS as a base material), etc.

An advantage of VRayBlendMtl is that you can use the VRayMtl Select render element to split the different sub-materials of VRayBlendMtl into different render elements.

VRayBlendMtl takes a base material and applies other materials (coatings) on top of it. This works like a stack, where each coat material blends between its own shading and that of the materials below it in the stack.

 

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

 

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


||V-Ray Toolbar|| > V-RayMtl (hold left click to display a dropdown list)

 

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

Column
width5%

 

Column
width35%


© Niall Walsh

...

Section
Column
width60%

Base material – Specifies the base material over which other materials are layered. If this is not specified, the base material will be assumed to be a perfectly transparent material.

Coat materials – Specifies materials to use as coatings.

Blend amount – This color specifies how much of the final result is contributed by the corresponding coating material, and the rest of the materials below it. If the Blend amount is white, the final result is comprised of the coat material only, and other materials below it are blocked. If the Blend amount is black, a coat material has no effect on the final result. This parameter can also be controlled by a texture map. See the Blend Amount example below.

Additive (shallac) mode – When enabled, VRayBlendMtl behaves like a multi-layered Shellac material. Note that this would often result in a physically incorrect material (e.g. a material that reflects more light than falls on it). It is not recommended to use this option unless you know what you are doing. See the Additive Mode example below.

Additive displacement – When enabled, each coat material's displacement adds up to the previous one. See the Additive Disablement example below.

Column
width5%

 

Column
width35%

 

Anchor
BlendAmountEx
BlendAmountEx

Example Workflow

...

Example: Blend Amount

 

The following examples shows the effect of the Blend amount texture on the render.

 

Section
Column
width25%

 

Column
width50%

Image Added

Material Editor: The VRayBlendMtl has just one Coat layer here and the blend amount texture controls how much this layer contributes to the resulted image.

Column
width25%

 

 

Here are the rendered results. In the first slider, the same blend amount texture is used with different Blend amount values. In the second slider, different blend amount textures are used and all of them have a Blend amount value set to 100%.

Section
Column
width50%
Image slider
Panel
borderStylenone

Image Added

Blend amount for the Coat layer = 20

Panel
borderStylenone

Image Added

Blend amount for the Coat layer = 50

Panel
borderStylenone

Image Added

Blend amount for the Coat layer = 100

Move the slider to see the example renders.

Column
width50%
Image slider
Panel
borderStylenone

Image Added

Blend amount texture is VRayBitmap

Panel
borderStylenone

Image Added

Blend amount texture is VRayBitmap

Panel
borderStylenone

Image Added

Blend amount texture is VRayBitmap

Panel
borderStylenone

Image Added

Blend amount texture is Falloff

Move the slider to see the example renders.

 

The VRayBlendMtl has two Coat layers here and the blend amount textures control how each layer contributes to the final image.

 

Section
Column
width25%

 

Column
width50%

Image Added

Material Editor

Column
width25%

 

 

Here are the render results.

Section
Column
width25%

 

Column
width50%
Image slider
Panel
borderStylenone

Image Added

Blend amount for Coat 1 = 100, Blend amount for Coat 2 = 100

Panel
borderStylenone

Image Added

Blend amount for Coat 1 = 100, Blend amount for Coat 2 = 50

Panel
borderStylenone

Image Added

Blend amount for Coat 1 = 100, Blend amount for Coat 2 = 10

Panel
borderStylenone

Image Added

Blend amount for Coat 1 = 50, Blend amount for Coat 2 = 100

Panel
borderStylenone

Image Added

Blend amount for Coat 1 = 10, Blend amount for Coat 2 = 100

Move the slider to see the example renders.

Column
width25%

 

 

Anchor
AdditiveModeEx
AdditiveModeEx

...

 

Example: Additive Mode

 

The following example shows the effect of the Additive (shellac) mode on a render.

Section
Column
width25%

 

Column
width50%

Image Added

Material Editor: The VRayBlendMtl has just one Coat layer.

Column
width25%

 

 

Here are the rendered results.

Section
Column
width25%

 

Column
width50%
Before after
afterLabelon
beforeLabeloff
Panel
borderStylenone

Image Added

Panel
widthnone
borderStylenone

Image Added

Column
width25%

 

 

And this is how the image looks when two Coat layers are used with 2 different blend amount textures - one Falloff and one VRayBitmap.

Section
Column
width25%

 

Column
width50%
Before after
afterLabelon
beforeLabeloff
Panel
borderStylenone

Image Added

Panel
widthnone
borderStylenone

Image Added

Column
width25%

 

 

Anchor
AdditiveDisplacementEx
AdditiveDisplacementEx

...

 

Example: Additive Displacement

 

The following example shows the effect of the Additive Displacement option on a render.

 

Section
Column
width25%

 

Column
width50%

Image Added

Material Editor: The VRayBlendMtl has just one Coat layer.

Column
width25%

 

 

Here are the rendered results.

Section
Column
width25%

 

Column
width50%
Before after
afterLabelon
beforeLabeloff
Panel
borderStylenone

Image Added

Panel
widthnone
borderStylenone

Image Added

Column
width25%

 

 

Notes

...

Fancy Bullets
typecircle
  • VRayBlendMtl is specifically designed for the V-Ray shading API and can only support V-Ray compatible materials (VRayMtl, VRayFastSSS, etc.). Additional V-Ray compatible materials can be developed with the V-Ray Shading SDK.
  • If any of the Coat materials is a VRayMtl with Fog color other than white, it will be ignored. Fog color will be considered only for the Base material.
  • The proper way to access the coat materials and their respective properties is through the array parameters: .coatMtl, .blend, .texmap_blend, .texmap_blend_multiplier (texmap_blend_mult). The others are read-only parameters accessors.