Skip to content

Latest commit

 

History

History
 
 

libraries

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Library Structure

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

  • osl denotes a reference implementation for OSL.
  • genosl denotes "generated" OSL code support. The language specifier is genosl and the target is vanilla.
  • genglsl denotes "generated" GLSL code support. The language specifier is genglsl with no specific target specifier.

Standard Library

PBR library

Support Notes:

  • 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 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.