Log inGet started
World

Builtin Library

Branchmain
Branchesmainpublish
Commit3bb1da2647

README.md

lfx_features

Builds the lens features from the bright pass: ghosts along the light axis, and the halo around it.

Each feature lands a share of its source — GHOST_REFLECTANCE, HALO_REFLECTANCE and STREAK_REFLECTANCE — because a flare is a reflection of the cone that entered the lens rather than light of its own. The bright buffer holds light, so the flare scales with the source and stays a small fraction of it.

Includes

  • lens_common

Bindings

namekind
bright_maptexture2d
lens_fx_paramsbuffer
features_outstorage2d (rgba16f)