This page provides information about creating materials from plugin with VRayPluginNodeMtl.

Page Contents ×

 

Overview


VRayPluginNodeMtl allows you to create a material from any V-Ray Standalone material plugin that comes with the V-Ray installation. This gives you access to a lot of handy plugins used by V-Ray and is particularly useful when rendering with V-Ray Cloud. All VRayPluginNodeMtl materials will work with V-Ray Cloud.

There's two general types of plugins available in VRayPluginNodeMtl - BRDF plugins and Mtl plugins. Usually BRDF plugins can be used by themselves, while Mtl plugins expect BRDF plugins or other Mtl plugins as inputs.

For example, BRDFGlass can be created and assigned to an object by itself, but Mtl2Sided will expect other BRDF or Mtl plugins to be specified as its front and back materials.

 

UI Path


||Material Editor window|| > Material/Map Browser > Materials > V-Ray > VRayPluginNodeMtl


General parameters


The parameters for materials created with VRayPluginNodeMtl are dynamically generated and are different for every material that can be created in this way. 

 

Plugin - Choose from the available material plugins that come with the V-Ray installation.

 

 

Plugin nodes parameters


Help on plugin nodes from plugins is available with the plgparams.exe tool that comes with the V-Ray installation.

By default, the plgparams.exe can be found in C:\Program Files\Chaos Group\V-Ray\3ds Max NNNN\bin\ where NNNN is your 3ds Max version number, such as 2018.

 

With the command prompt, navigate to the C:\Program Files\Chaos Group\V-Ray\3ds Max NNNN\bin\ folder and run plgparams.exe without arguments to see a help message on the tool's usage. In general, you will need to run a series of commands to point plgparams to the plugin folder, locate the V-Ray name of the node (which might differ from its display name in the V-Ray UI), and list the parameters for the plugin.

To point plgparams to the folder where your plugins reside, use the -plugindir option:

plgparams -plugindir <plugin folder>

This command tells plgparams where to find your plugins. By default, the default plugins folder location is C:\Program Files\Chaos Group\V-Ray\3ds Max NNNN\bin\plugins.

"C:\Program Files\Chaos Group\V-Ray\3ds Max 2018\bin\plgparams.exe" -plugindir "C:\Program Files\Chaos Group\V-Ray\3ds Max 2018\bin\plugins"

To see the list of plugin names in this folder, use the following command:

## Usage
plgparams -plugindir <plugin folder> -list
 
## Example
"C:\Program Files\Chaos Group\V-Ray\3ds Max 2018\bin\plgparams.exe" -plugindir "C:\Program Files\Chaos Group\V-Ray\3ds Max 2018\bin\plugins" -list

Note that the plugin folder must be specified with the -plugindir switch each time you run the command.

To see help on the parameters for a specific plugin, name the plugin in quotes after the -plugindir switch and folder. For example, to see help on the BRDFGlass plugin, use the command:

## Usage
plgparams -plugindir <plugin folder> <plugin name>
 
## Example
"C:\Program Files\Chaos Group\V-Ray\3ds Max 2018\bin\plgparams.exe" -plugindir "C:\Program Files\Chaos Group\V-Ray\3ds Max 2018\bin\plugins" BRDFGlass

This will list all the parameters for the plugin, and definitions for each.