Versions Compared

Key

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

...

Section
Column
width62%

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

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


Expand
titleScripting
UI Text Box
typeinfo

Add to node:

vray addAttributesFromGroup "VRayMtl1" "vray_material_id" 1;

Attributes:

vrayColorId
vrayMaterialId

Column
width5%

 

Column
width33%

 

Light Path Expressions Label

...

Section
Column
width62%

With the help of the Light Path Expressions label, a Light Path Expression LightSelect RE can effectively be used as a custom Material Select RE, e.g. as an Indirect lighting only for materials with specific label value.

 

Expand
titleScripting
UI Text Box
typeinfo

Add to node:

vray addAttributesFromGroup "VRayMtl1" "vray_lpe_label" 1;

Attributes:

vrayLPELabel

 

 

Column
width5%

 

Column
width33%

Image Added

Closed Volume Shading

...

Section
Column
width62%

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.


Expand
titleScripting
UI Text Box
typeinfo

Add to node:

vray addAttributesFromGroup "VRayMtl1" "vray_closed_volume" 1;

Attributes:

vrayClosedVolume

Column
width5%

 

Column
width33%

...

Section

This extra attribute is available only for VRayMtl, VRayAlSurface and VRayBlend materials. It allows adding round edges using the material.  

Column
width62%

 

Enable Round Edges – 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 here may produce undesirable effects. 

Consider Same Objects Only – When enabled, the rounded corners are produced only along edges that belong to the same object which has the attribute applied. When disabled, rounded corners are 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:

Covex 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.  

 

Expand
titleScripting
UI Text Box
typeinfo

 Add to node:

vray addAttributesFromGroup "VRayMtl1" "vray_roundedges" 1;

Attributes:

vrayRoundEdges
vrayRoundEdgesRadius
vrayRoundEdgesConsiderSameObjectsOnly
vrayRoundEdgesCorners

Column
width5%

 

Column
width33%