Defines the alpha limits in alpha test mode
Sets the value of the alpha mode.
Value | Type | Description |
---|---|---|
0 | ALPHA_DISABLE | |
1 | ALPHA_ADD | |
2 | ALPHA_COMBINE | |
3 | ALPHA_SUBTRACT | |
4 | ALPHA_MULTIPLY | |
5 | ALPHA_MAXIMIZED | |
6 | ALPHA_ONEONE | |
7 | ALPHA_PREMULTIPLIED | |
8 | ALPHA_PREMULTIPLIED_PORTERDUFF | |
9 | ALPHA_INTERPOLATE | |
10 | ALPHA_SCREENMODE |
Stores the animations for the material
Sets the back-face culling state
The color grading curves provide additional color adjustmnent that is applied after any color grading transform (3D LUT). They allow basic adjustment of saturation and small exposure adjustments, along with color filter tinting to provide white balance adjustment or more stylistic effects. These are similar to controls found in many professional imaging or colorist software. The global controls are applied to the entire image. For advanced tuning, extra controls are provided to adjust the shadow, midtone and highlight areas of the image; corresponding to low luminance, medium luminance, and high luminance areas respectively.
Sets wether the color curves effect is enabled.
Gets wether the color grading effect is enabled.
Sets the Color Grading 2D Lookup Texture.
Sets The camera contrast used on this material.
The camera exposure used on this material. This property is here and not in the camera to allow controlling exposure without full screen post process. This corresponds to a photographic exposure.
Sets wether tonemapping is enabled or not
Specifies if the ready state should be checked on each call
Specifies if the ready state should be checked once
Specifies if depth writing should be disabled
Specifies if the material should be serialized
Sets the material fill mode
Sets the state for enabling fog
Specifies if depth writing should be forced
Callback triggered to get the render target textures
The ID of the material
Sets the Default image processing configuration used either in the this material.
If sets to null, the scene one is in use.
Specifies if updates for the material been locked
The name of the material
Sets the need depth pre-pass value
Called during a bind event
An event triggered when the material is bound
Callback triggered when the material is compiled
Called during a dispose event
An event triggered when the material is disposed
Callback triggered when an error occurs
An event triggered when the material is unbound
Stores the size of points
Sets the state of point cloud mode
Specifies if there should be a separate pass for culling
Stores the value for side orientation
The state of the material
Specifies if the effect should be stored on sub meshes
Allows using an object space normal map (instead of tangent space).
Sets the state of wireframe mode
Stores the z offset value
Returns the dirty attributes flag value
Returns the clock-wise side orientation
Returns the counter clock-wise side orientation
Returns the dirty fresnel flag value
Returns the dirty light flag value
Returns the line list draw mode
Returns the line loop draw mode
Returns the line strip draw mode
Returns the dirty misc flag value
Returns the point fill mode
Returns the point list draw mode
Returns the dirty texture flag value
Returns the triangle fan draw mode
Returns the triangle fill mode
Returns the triangle strip draw mode
Returns the wireframe mode
Binds the given normal matrix to the active effect
the matrix to bind
Binds the given world matrix to the active effect
the matrix to bind
Binds the scene's uniform buffer to the effect.
defines the effect to bind to the scene uniform buffer
defines the uniform buffer storing scene data
Binds the view matrix to the effect
defines the effect to bind the view matrix to
Binds the view projection matrix to the effect
defines the effect to bind the view projection matrix to
Force shader compilation
defines the mesh associated with this material
defines a function to execute once the material is compiled
defines the options to configure the compilation
Force shader compilation
defines the mesh that will use this material
defines additional options for compiling the shaders
a promise that resolves when the compilation completes
Locks updates for the material
Gets the meshes bound to the material
an array of meshes bound to the material
Returns the current scene
a Scene
Child classes can use it to update shaders
Marks a define in the material to indicate that it needs to be re-computed
defines a flag used to determine which parts of the material have to be marked as dirty
Marks the material to indicate that it needs to be re-calculated
Specifies if the mesh will require alpha blending
defines the mesh to check
a boolean specifying if alpha blending is needed for the mesh
Returns a string representation of the current material
defines a boolean indicating which levels of logging is desired
a string with material information
Unlocks updates for the material
Creates a MultiMaterial from parsed MultiMaterial data.
defines parsed MultiMaterial data.
defines the hosting scene
a new MultiMaterial
Generated using TypeDoc
Sets the alpha value of the material