ParticleShader constructor

const ParticleShader({
  1. bool soft = false,
})

True soft fades the sprite where it nears the depth behind it; builtinCpuShaders files the hard stage under Particle and the soft one under ParticleSoft.

Implementation

const ParticleShader({this.soft = false});