Skip to content

Latest commit

 

History

History
 
 

libraries

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

MaterialX Data Libraries

The following is the layout of the definitions and implementations provided as part of the core libraries.

  • genglsl : Support for GLSL code generation
  • genosl : Support for OSL code generation
  • osl : Reference OSL implementations

Standard Library

Physically-Based Shading Library

Support Notes:

  • GLSL language support is for version 4.0 or higher.
  • OSL language support is for version 1.9.10 or higher.
  • "default" color management support includes OSL and GLSL implementations for the following non-LUT transforms:
    • lin_rec709, gamma18, gamma22, gamma24, acescg, srgb_texture
  • Basic GLSL lightshader node definitions and implementations are provided for the following light types:
    • point, directional, spot
  • Code generation is not currently supported for:
    • ambientocclusion node for: genosl and genglsl.
    • arrayappend node for: genosl and genglsl.
    • curveadjust node for: genosl and genglsl.
    • displacementshader and volumeshader nodes and associated operations (add, multiply, mix) for: genosl and genglsl.