Builtin Library
- ..
- README.md610 B
- bindings.yaml201 B
- shader.wgsl4.8 KB
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
| name | kind |
|---|---|
bright_map | texture2d |
lens_fx_params | buffer |
features_out | storage2d (rgba16f) |