BBMOD_ParticleMaterial

Extends BBMOD_DefaultMaterial

constructor

new BBMOD_ParticleMaterial([_shader])

Description

A material that can be used for rendering particles.

Arguments

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.

Properties

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.

See also

BBMOD_ParticleShader

Do you find this page helpful?

Copyright © 2022, BlueBurn. Built on November 16, 2022 using GMDoc.