Skip to main content
Skip table of contents

FX File - Lightning.fx


Token NameDefault ValueAccepted ValuesDescriptionToken Source File

BOLT_HEIGHT_SCALE

600.0
Lightning bolt height scale.

Lightning.fx

BOLT_HEIGHT_BIAS

2000.0
Lightning bolt height bias.

LIGHTNING_RADIUS

100000.0
Lightning radius.

CORE_BRANCH_PROB

1.1
Lightning bolt core branch probability.

CORE_BRANCH_CLAMP

0.89
Lightning bolt core branch clamp.

SUB_BRANCH_LENGTH

200.0
Lightning bolt sub-branch probability.

SUB_BRANCH_PROB

0.965
Lightning bolt sub-branch length param.

LIGHTNING_TEMP

1000
Lightning temperature.

CLOUD_TO_CLOUD_RATIO

0.2
Cloud-to-cloud lightning ratio.

LOCAL_LIGHT_ATTENUATION

1.0, 0.0, 0.000000022
Lightning local light attenuation.

LOCAL_SPOT_FALLOFF

0.5, 0.0, 0.0, 0.0
Lightning cubic spotlight falloff p.w + x(p.x + x(p.y + xp.z)) for x in [0,1].
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.