LayerOut

class guerilla.LayerOut

Bases: guerilla.ShaderNodeIn

A LayerOut is a ShaderNodeIn that is found in a ShaderNodeOutputLayer

This node has connections to primitives to let the user override primitive assignation on a per pass basis.

AcceptPath

The regular expression of accepted light paths

Type:types.string
Color

Override of the shader output to use instead of the output’s name

Type:types.string
Compression

Override of the pass compression

Type:types.string
DWACompressionLevel

Override of the pass DWA compression

Type:types.string
DeepCompression

Override of the pass deep compression ratio

Type:types.float
DeepImage

Override of the pass deep image

Type:types.bool
DeepMerge

Override of the pass deep merge flag

Type:types.bool
Denoise

Denoise this AOV if the Denoiser render setting is set.

Type:types.bool
Depth

Override of the pass display driver’s bit depth

Type:types.string
Disabled

Disables the rendering of this output when true

Type:types.bool
DisplayDriver

Override of the pass display driver

Type:types.string
EXRIdPattern

Override of the pass EXRId Pattern

Type:types.string
ExMattes

The connection to the excluded (to matte) SceneGraphNodes

Type:None
ExVisibles

The connection to the excluded (to visible) SceneGraphNodes

Type:None
FileAlphaMode

The color written in file is alpha premultiplied (“multiply”) or not (“normal”), or inherited from the RenderPass (“inherited”)

Type:types.string
FileName

Override of the pass filename

Type:types.string
Gamma

Override of the pass display gamma

Type:types.string
IgnorePath

The regular expression of ignored light paths

Type:types.string
LightCategories

The categories of light that illuminate the output

Type:types.string
Lit

The connection to the linked lights for light linking overide

Type:None
Mattes

The connection to the matted SceneGraphNodes

Type:None
MetaData

The meta data to insert in the EXR file header. You can add a metadata per line.

Type:types.string
MultiPart

If checked, writes the AOVs as OpenEXR 2.0 multi-part files. If not checks, write the AOVs as channels (compatible with OpenEXR 1.0).

Type:types.bool
OverrideSettings

Enable override of the default parent RenderPass settings

Type:types.bool
PixelFormat

Override of the pass pixel format

Type:types.string
PostClamp

Override of the post filter clamping

Type:types.vector2
PreClamp

Override of the pre filter clamping

Type:types.vector2
RenderState

The actual state of this output, depending on its Disabled state and the solor mode

Type:types.string
Solo

Is the AOV in the solo mode ?

If at least one render pass is in the solo mode, only those passes will be computed.

If no render pass are in the solo mode, all the render passes are computed.

type:types.bool
StochasticOpacity

Sample this AOV stochastically with respect to opacity.

Type:types.bool
UseLPEs

Override of the pass use lpes

Type:types.bool
Visibles

The connection to the visible SceneGraphNodes

Type:None
setaov(settings)

Setup the aov with a preset, from either a predefined name or a table

As a table/dict, the settings can contain any of the following attributes:
  • Node: The path to a node to load and connect

  • Color: The default color to use (or {0,0,0})

  • Accept: The accept regular expression (or an alias for it)

  • Ignore: The ignore regular expression (or an alias for it)

  • ShaderColor: The shader output or attribute to shader

  • LightCategories: The ligth categories to integrate in the AOV

  • OverrideSettings: Enable the aov settings to be overriden

    param settings:The settings to use
    type settings:{string or table}