Versions Compared

Key

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

...

Section
Column
width45%

The Override Material is a utility material provided with the V-Ray renderer. It allows a surface to look different depending on whether it is seen through reflections, refractions, or GI.

With this material you get fine controls over the color bleeding, reflections, refractions, and shadows of the objects.

The example render here shows the use of the Override Material to create some interesting reflections and refractions of the chairs. Notice how the yellow chair changes its color when seen through a refractive material. The reflections of the colored chairs, seen in the floor, display variation of the colors as well.

Column
width5%


Column
width50%
Before after
afterLabelON
darktrue
beforeLabelOFF
Panel
borderStylenone

Image Removed

Panel
borderStylenone

Image Removed

Image_comparison_slider
AddButtonsfalse
LabelBeforeoff
LabelAfteron
AttachmentImageBeforeOverride_Material_Off_1280x720.jpg
AttachmentImageAfterOverride_Material_1280x720.jpg


UI Paths

...


Section
Column
width10%


Column
width30%

||V-Ray|| > Override Material

Column
width10%


Column
width30%

||Create|| > V-Ray > Override Material (disabled Separate menu for V-Ray materials)

 

Column
width20%


Parameters

...


Section
Column
width55%50%

Base Material – Specifies the material V-Ray uses while rendering the object.

Enable GI Material – When enabled, the specified GI Material overrides the Global Illumination in the scene.

GI Material – Specifies the material V-Ray uses while calculating the GI solution. See the Gi Material override example below for more information.

Enable Reflection Material – When enabled, V-Ray uses the specified material, when the object is seen in reflections.

Reflection Material – Specifies the material V-Ray uses, when the object is seen in reflections.

Enable Refraction MaterialWhen enabled, V-Ray uses the specified material, when the object is seen in refractions.

Refraction Material – Specifies the material V-Ray uses, when the object is seen in refractions.

Enable Shadow Material – When enabled, V-Ray uses the specified material for the object's shadows.

Shadow Material – Specifies the material that is used to render shadows cast from the object.

Column
width5%


Column
width40%45%


...

Anchor
color
color

Example: Using GI Material Option


Section
Column
width50%

This example explores how the orange color coming from the vivid orange colored floor leaks through and colors the rest of the objects in the scene (walls, skirtings, etc.).

In the first image, it is visible that all walls, objects, and the ceiling are rendered in some light orange color. This is due to the color bleeding, generated by the GI calculations.

In the second image, the scene is rendered with a VRayOverride GI material assigned to the floor. The VRayOverrideMtl is set with a concrete gray V-Ray material for the GI Material and with the default orange material for Base Material.

So now V-Ray knows that while calculating the GI it has to use the GI material, and during rendering it uses the Base material. The result of that is quite different from the previous render as the color bleeding is gone.

For a much more complex scene, with lots of different geometry, shaders, textures, etc., using the VRayOverride material can be very helpful.

Section
Column
width30%5%

beforeLabel

Column
width40%45%

Image_comparison_slider
AddButtonsfalse
LabelBefore

Before after
afterLabelon
off

panel

LabelAfter

borderStyle

on

none

Image Removed

Panel
borderStylenone

Image Removed

Columnwidth30%

AttachmentImageBefore01_GI_Override_Mtl_Off.jpg
AttachmentImageAfter01_GI_Override_Mtl_On.jpg


Multiexcerpt include
MultiExcerptNameMaterial Outlines
PageWithExcerptV-Ray Material Outlines


Options

...

Section
Column
width55%50%

Material Id Enabled – Enables the use of Material ID.

Material ID – The color used by the Material ID render element. You can also use a shader here.

Multimatte ID – The integer ID of the material to be used by the Multi Matte render element.


Round Edges Enabled – Enables the Round Edges effect, which uses bump mapping to smooth out the edges of the geometry during render time.

Radius – Specify a radius (in world units) for the Round Edges effect. Since the actual geometry is not being changed and only the normals of the faces are affected, large values may produce undesirable effects.

Consider Same Object Only – When enabled, the rounded corners are produced only along edges that belong to the object, which has the attribute applied. When disabled, rounded corners are also produced along edges formed when the object with the attribute intersects other objects in the scene.

Corners – Choose which edges are considered in the calculation. Possible options are:

Convex and Concave – Considers all edges.
Convex Only – Only applies Round Edges effect to edges with convex angles.
Concave Only – Only applies Round Edges effect to edges with concave angles.

Column
width5%


Column
width40%45%

Image Added


Preview Settings

...

Section
Column
width50%

Override Preferences – When enabled, the parameters in this tab override the global preferences of the scene for the selected material.

Enable Preview – When disabled, the previews of the material in the Viewport and the Material Editor are disabled. The material is displayed in all black. This saves on processing power.

Enable Global Illumination – When disabled, global illumination is not calculated for the current material preview.

Quality – Determines the quality of the material previews. Higher values give more detail but slow down processing.

Editor Map Size – Determines the resolution of the material preview. If you have extra-detailed textures applied to the material, this option allows you to preview those textures in higher resolution at the preview step, without needing to render.

Default
64×64 (16 KB)
128x128 (64 KB)
256x256 (256 KB)
512x512 (1 MB)
1024x1024 (4 MB)
2048x2048 (16 MB)
4096x4096 (64 MB)

Column
width5%


Column
width45%

Image AddedImage Removed