Extends BBMOD_DefaultMaterial
constructor
new BBMOD_ParticleMaterial([_shader])
A material that can be used for rendering particles.
Name | Type | Description |
---|---|---|
_shader | Struct.BBMOD_Shader |
A shader that the material uses in the BBMOD_ERenderPass.Forward pass. Leave undefined if you would like to use BBMOD_Material.set_shader to specify shaders used in specific render passes. |
Name | Description |
---|---|
SoftDistance | Distance over which the particle smoothly dissappears when getting closer to geometry rendered in the depth buffer. Use values less or equal to 0 to disable the effect. Default value is 0. |
Copyright © 2023, BlueBurn. Built on March 24, 2023 using GMDoc.