Optional
__Protected
_Protected
_Protected
Optional
_Protected
_Readonly
extraThe priority of the material extension when applied to the material in ScreenPass set to very low priority, so applied at the end
Optional
uiStatic
Optional
Readonly
OldStatic
Readonly
PluginProtected
_Protected
_Optional
prefix: stringOptional
meta: anyFunction to return the UI config for this material extension. This is called once when the material extension is registered.
Function to check if this material extension is compatible with the given material. If not compatible, the material extension will not be added to the material. This is only checked when the extension is registered.
The extension is assumed to be compatible if this function is not defined
Custom callback to extend/modify/replace shader code and other shader properties
Optional
meta: SerializationMetaType
Vignette Plugin
Adds an extension to ScreenPass material for applying vignette effect on the final buffer before rendering to screen. The power of the vignette can be controlled with the
power
property. The color of the vignette can be controlled with thecolor
(previouslybgcolor
) property.