Table of Contents

This page provides information about the VRmat material in V-Ray for Cinema 4D.


Overview


The VRmat material is useful for working across multiple platforms; the VRmat loads a V-Ray shader from a file (.vrmat, .vismat, .vrscene, .mtlx) and makes the materials in these files available for use in the scene. These files can be exported from Maya or 3ds Max and used on any platform. 

To share materials cross-platform, an existing V-Ray material is converted through the VRMat Converter, the output of which can then be read into a scene using the VRmat material in the material editor of the destination platform. This allows you to use a material originally created in 3ds Max or Maya in a Cinema 4D scene.

Note: If you load a shader from a .vrscene file, you can only use it directly; you cannot edit it.

If you want to edit the scale of the VRmat's UVs, you can do so using the VRayObjectProperties tag, which adds additional UV scaling. See the VRayObjectProperties page for more information.


22_VRayVRmatMtl



UI Paths



||V-Ray|| > VRmat Material



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




Parameters


Material File – Loads a .vrmat, .vrscene, or .vismat containing one or more V-Ray materials or a .mtlx file.

Material Name – A list of all V-Ray materials saved inside the loaded .vrmat, .vismat, or .vrscene file or material loaded inside the .mtlx file. 


c4d2024_62010_VRayVRmat_material_params


Options


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.