ShadowTransmittanceShader class final
shadow_transmittance.frag: what a see-through caster lets through to
the sun — ShadowSettings.translucentCasters.
Green and blue are what it takes from red and green, alpha what it leaves of blue, red nought so the depth beneath survives the blend; the GLSL stage has the reasons, and this is the same arithmetic.
- Inheritance
-
- Object
- CpuFragmentShader
- ShadowTransmittanceShader
Constructors
- ShadowTransmittanceShader()
-
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 bindings, 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