The following is the layout of the definitions and implementations provided as part of the core libraries.
osldenotes a reference implementation for OSL.genosldenotes "generated" OSL code support. The language specifier isgenosland the target isvanilla.genglsldenotes "generated" GLSL code support. The language specifier isgenglslwith no specific target specifier.
- stdlib
- stdlib_defs.mtlx : Single node nodedef definitions file.
- stdlib_ng.mtlx : Node graph definitions file.
- genglsl: GLSL language support.
- lib : Shader utility files.
- stdlib_genglsl_impl.mtlx : Mapping from definitions to implementations
- stdlib_genglsl_cm_impl.mtlx : Minimal set of "default" color management implementations.
- GLSL implementation files.
- genosl: OSL language support.
- lib: Shader utility files.
- stdlib_genosl_impl.mtlx : Mapping from definitions to implementations
- stdlib_genosl_cm_impl.mtlx : Minimal set of "default" color management implementations.
- OSL implementation files.
- osl: OSL reference implementation
- OSL implementation files.
- pbrlib
- pbrlib_defs.mtlx : Single node definitions file.
- pbrlib_ng.mtlx : Node graph definitions file.
- genglsl : GLSL language support
- lib : Shader utility files.
- pbrlib_genglsl_impl.mtlx : Mapping from definitions to implementations
- GLSL implementation files.
- genosl : OSL language support
- lib : Utilities
- pbrlib_genosl_impl.mtlx : Mapping from definitions to implementations
- OSL implementation files.
- GLSL language support is for version 4.0 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
lightshadernode definitions and implementations are provided for the following light types:- point, directional, spot
- Code generation is not currently supported for:
ambientocclusionnode for:genoslandgenglsl.arrayappendnode for:genoslandgenglsl.curveadjustnode for:genoslandgenglsl.displacementshaderandvolumeshadernodes and associated operations (add,multiply,mix) for:genoslandgenglsl.