SkyShader class final
sky.frag: the gradient, the scattering lobe and the disc.
Transcribed rather than shared with the engine's own copy of this model, and
that is the standing arrangement here: flutter3d is a dev dependency of
this package and not a dependency, because a software backend that needs the
engine to draw a triangle is not a backend. tonemapNeutral is the same
bargain. What keeps the two honest is a test that evaluates both.
- Inheritance
-
- Object
- CpuFragmentShader
- SkyShader
Constructors
- SkyShader()
-
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
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