Instantiate a new DepthPluginMaterial
base Material to wrap
Gets the darkness value
Sets the darkness value
Gets whether the plugin is enabled
Sets whether the plugin is enabled
Gets the gamma value
Sets the gamma value
Returns a list of custom shader code fragments to customize the shader.
"vertex" or "fragment"
a list of pointName => code.
Note that pointName
can also be a regular expression if it starts with a !
.
In that case, the string found by the regular expression (if any) will be
replaced by the code provided.
Material with depth plugin