ParticleSixWayShader class final

particle_six_way.frag — N6: smoke lit by the scene's lights through six pictures of itself, blended over what is behind it.

The same varyings as the sprite stage: colour in 0..3, the cell's texture coordinate in 4..5, the world position in 6..8.

Inheritance

Constructors

ParticleSixWayShader({bool soft = false})
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
soft → bool
particle_six_way_soft.frag: the same, its coverage faded by softParticleFade.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
run(Float32List v, ShaderBindings b, FragmentContext c) → Vector4?
Returns linear RGBA for attachment zero. Null discards the fragment.
override
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited