© Square Enix © Goodbye Kansas


Table of Contents

This page provides some details on the settings available for the V-Ray MtlRenderStats node in V-Ray.


Overview


The V-Ray MtlRenderStats can be used to specify additional render settings on a per-material basis.



Node


The MtlRenderStats node contains the following input:

base_mtl – Specifies the surface material that the additional settings are applied to.



Parameters


Primary Visibility – When disabled, the object appears perfectly transparent to camera rays. See the Primary Visibility example below.

Visible in Reflections – When disabled, the object appears perfectly transparent to reflection rays. See the Visible in Reflections/Refractions example below.

Visible in Refractions – When disabled, the object appears perfectly transparent to refraction rays. See the Visible in Refractions/Refractions example below.

Cast Shadows – When disabled, the object is invisible to shadow rays from lights and does not cast shadows. See the Cast Shadows example below.

Receive Shadows – When disabled, the object does not receive shadows. See the Receive Shadows example below.





Example: Primary Visibility


This example shows the effect of the Primary Visibility parameter. The V-Ray Render Stats material is applied to the glass owl figurine.

When the Primary Visibility is disabled, the glass owl figurine is not visible to the camera but it is still visible in reflections and refractions. It also continues to cast shadows.



on
off





Example: Visible in Reflections/Refractions


This example shows the effect of the Visible in Reflections and Visible in Refractions parameters. The V-Ray Render Stats material is applied to the metallic owl figurine.

When Visible in Reflections is off, the metallic owl is transparent to reflection rays, and respectively when the Visible in Refraction is off, the metallic owl is transparent to refraction rays. When both options are off, the metallic owl is neither visible in the mirror plane nor in the glass owl figurine.



Visible in Reflections and Visible in Refractions are on

Visible in Reflections is off, Visible in Refractions is on

Visible in Relfections is on, Visible in Refractions is off

Visible in Reflections and Visible in Refractions are off





Example: Cast Shadows


This example shows the effect of the Cast Shadows parameter. The V-Ray Render Stats material is applied to the metallic owl figurine.



on
off





Example: Receive Shadows


This example shows the effect of the Receive Shadows parameter. The V-Ray Render Stats materials are applied to the both owls.



on
off



Notes


  • This material is not to be used nested in bump, wrapper, 2sided or blend materials.