Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Overview

...

Section
Column
width50%

The VThe V-Ray TexOSL map can be used to load Open Shading Language OSL shader code files (.osl) or OSL object OSL object code files (.oso) and render them directly with V-Ray. It can be used with shaders that have simple color and float output parameters. These parameters are considered respectively as texture RGB and alpha outputs.

For more on OSL in general, see the Github reference.

 

UI PathsPath: ||mat Network|| > V-Ray> Ray > Texture: File >  > V-Ray OSL

Image Added

Column
width5%

 

Column
width45%

...

OSL Code

...

Section
Column
width50%

OSL Source  Determines how the OSL code is drawn.

Inline OSL
File path (.oso/.osl)

OSL Code  A space for manual insertion of an OSL code.

Path to .oso/.osl file – Specifies the .osl or .oso file which contains the shader (object) code.

Column
width5%

 

Column
width45%

...