Skip to content

Material

Produces shaders for high quality rendering that automatically adapt to texture inputs and the number of active lights.

Material Node

Reference

The following properties can be configured for this node:

Property Type Description
Material file - load a material file (needs to be in the MaxMSP-Jitter Material format)
E - refresh properties from material editor
R - open material editor
diffuse model - Diffuse shading model:
  • 'lambert' (Lambertian diffuse shading)
  • 'oren_nayer' (Oren-Nayer diffuse shading)
  • 'toon' (Toon diffuse shading)
  • 'minnaert' (Minnaert diffuse shading)
  • diffuse size - Diffuse toon component size. Only valid when the diffuse shading model is toon.
    diffuse smooth - Diffuse toon component smoothness. Only valid when the diffuse shading model is toon.
    diffuse darkness - Material darkness. Only valid when the diffuse shading model is minnaert.
    specular model - Specular shading model :
  • 'blinn' (Blinn specular shading)
  • 'phong' (Phong specular shading)
  • 'toon' (Toon specular shading)
  • 'ward' (Ward specular shading)
  • 'cook_torrance' (Cook-Torrance specular shading)
  • specular size - Specular toon component size. Only valid when the specular shading model is toon.
    specular smooth - Specular toon component smoothness. Only valid when the specular shading model is toon.
    fog - Fog type:
  • 'none' (No fog)
  • 'linear' (Linear fog)
  • 'exp' (Exponential fog)
  • 'exp2' (Squared exponential fog)
  • fog density - density
    fog range - range
    fog color - fog color
    diffuse - diffuse color
    specular - specular color
    ambient - ambient color
    emission - emission color
    lighting - lets the model react to light sources
    shadowcaster - lets the model cast shadows
    smooth - smooth rendering
    shininess - shininess
    shadow eps - Shadow epsilon (eps) modifies the shape of shadows, and corrects self-shadowing error (default = 0.2). This value is used when the bound object is a shadow-receiver.
    shadow radius - Adjust shadow blur radius (default = 0.3). This value is used when the bound object is a shadow-receiver.
    shadow hard - Adjust shadow hardness (default = 0.7). This value is used when the bound object is a shadow-receiver.
    shadow soft - Adjust shadow softness (default = 0.3). Overwrites shadow_radius and shadow_hard properties. This value is used when the bound object is a shadow-receiver.
    Inlet Type Description
    properties properties properties | use message [set <propertyPath> <value(s)>] (without node/<nodeName> at the beginning) to set internal properties
    diffuse texture diffuse texture
    specular texture specular texture
    ambient texture ambient texture
    emission texture emission texture
    normal texture normal texture
    cubemap cubemap cubemap texture
    heightmap texture heightmap texture
    glossmap texture glossmap texture
    Outlet Type Description

    Important Notes

    Calibration Requirements

    text here

    File Locations

    ~/_assets/_shaders/_materials     # Calibration files
    


    Need help or want to suggest improvements?

    Report an issue Improve the Docs

    Last updated: 2025-12-01 | Edit this page on GitHub