Particle opacity behavior
ManHunter opened this issue · comments
Alexander Kolosov commented
I could not find a way to control the opacity of particles by analogy with ColorOverLife.
Are you planning to add this functionality?
Forrest Sun commented
Hey @ManHunter, In ColorOverLife, the color is a Vector4 the XYZ are for RGB, the w is for alpha (opacity)
Forrest Sun commented
export interface FunctionColorGenerator {
type: 'function';
genColor(color: Vector4, t: number): Vector4;
toJSON(): FunctionJSON;
clone(): FunctionColorGenerator;
}