ConstantDisplayFilter
Overview
A ConstantDisplayFilter takes in an RGB color
and produces a render output of that color.
Attribute Reference
Advanced attributes
invert_mask
Bool
default: False
Invert the value of the mask
mix
Float
default: 1.0
Blend [0,1] between input and output
General attributes
color
Rgb
default: [ 0, 0, 0 ]
Fill color value
mask
RenderOutput
default: None
RenderOutput used to mask the output, revealing input1
Examples
local constant = ConstantDisplayFilter("/display/constant") {
["color"] = Rgb(0.5, 1.0, 1.0)
}
RenderOutput("/output/constant") {
["file_name"] = "result0.exr",
["result"] = "display filter",
["display_filter"] = constant,
["channel_name"] = "constant"
}