Optional
__setProtected
_dirtyProtected
_shaderProtected
Optional
_viewerProtected
_viewerReadonly
extraReadonly
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
_onProtected
_storeOptional
meta: anyFunction to check if this material extension is compatible with the given material. If not compatible, the material extension will not be applied. 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
Tonemap Plugin
Adds an extension to ScreenPass material for applying tonemapping on the final buffer before rendering to screen.
Also adds support for Uncharted2 tone-mapping.