class PBRBaseMaterial extends PushMaterial
Instantiates a new PBRMaterial instance.
* @param name The material name
Name | Type | Description | |
---|---|---|---|
name | string | The material name | |
scene | Scene | The scene the material will be use in. |
Gets the current transparency mode.
Sets the transparency mode of the material.
Specifies whether or not this material should be rendered in alpha blend mode.
Specifies whether or not this material should be rendered in alpha blend mode for the given mesh.
Name | Type | Description | |
---|---|---|---|
mesh | AbstractMesh |
Specifies whether or not this material should be rendered in alpha test mode.
Name | Type | Description | |
---|---|---|---|
mesh | AbstractMesh | ||
subMesh | SubMesh | ||
optional | useInstances | boolean |
Name | Type | Description | |
---|---|---|---|
world | Matrix |
Name | Type | Description | |
---|---|---|---|
world | Matrix | ||
mesh | Mesh | ||
subMesh | SubMesh |
Name | Type | Description | |
---|---|---|---|
optional | forceDisposeEffect | boolean | |
optional | forceDisposeTextures | boolean |