Optional
parameters: ShaderMaterialParameters & MaterialParameters & {Readonly
appliedManaged internally, do not change manually
The initial value of Object.prototype.constructor is the standard built-in Object constructor.
Readonly
isAShaderReadonly
isReadonly
setAn object that can be used to store custom data about the Material. It should not hold references to functions as these will not be cloned.
Static
Readonly
MaterialStatic
Readonly
TYPEStatic
Readonly
TypeFire an event type.
The event that gets fired.
Optional
_2: anyAn optional callback that is executed immediately before the shader program is compiled. This function is called with the shader source code as a parameter. Useful for the modification of built-in materials.
Source code of the shader
WebGLRenderer Context that is initializing the material
Sets the values of this material based on the values of the passed material or an object with material properties The input is expected to be a valid material or a deserialized material parameters object(including the deserialized userdata)
material or material parameters object
Deprecated
use GBufferMaterial instead