Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Added tags shader metadata.

...

Specifies the string to use for the shader name in the user interface, when possible.


string tags[n] = { tag1, ... tagN }

Only supported in Katana

An array of n strings defining tags for the shader. The supported tags are:

surface

The shader will be considered as a surface shader

texture/3d

The shader will be considered a 3D texture.

hidden

The shader will not be listed in the create shader node overlay menu.


string maya_typeID

Only supported in Maya

...

The shading node will be classified as a Utility node and will be listed under 3Delight → Utilities. 


int maya_generateAETemplate

Setting this to 0 allows providing a complete custom template using a MEL file, just like any other node. Setting this metadata to 1 (or not specifying it at all) will have 3Delight for Maya generate an Attribute Editor template automatically based on the shader parameters' metadata.


Parameter metadataParameter Annotations

Parameter annotations are provided between a parameter's default value and the comma that ends its declaration. For instance:

float i_jitter = 1.0 [[ string maya_name = "jitter" ]],

...