Filter
Passes a spectral band or attenuates intensity as a neutral-density filter.
Open in the canvas →In the real world
Optical filters reject unwanted wavelengths by one of two physical mechanisms. Absorptive filters — colored or doped glass, or a dye suspended in a polymer — remove light by genuine absorption: photons in the rejected band are converted to heat inside the material. Interference filters instead use the same multilayer dielectric-coating physics as a dichroic mirror, engineered so the rejected band destructively interferes in transmission — which usually means it reflects back out rather than being absorbed. A neutral-density (ND) filter is the wavelength-flat special case of an absorptive or partially-reflective metallic coating, meant to attenuate intensity uniformly across the visible band rather than reject a specific color.
Absorptive and interference designs behave very differently under high power: an absorptive filter converts the rejected light to heat and can be damaged or even cracked if that exceeds its thermal budget, while an interference filter's rejected light reflects back toward the source — a real hazard when placed near a laser cavity, since that reflection can re-enter the gain medium.
In OpticalSetup
One element models four filter families, selected by type: Bandpass, Longpass, and Shortpass each define an idealized passband — exactly the same hard-edged step-function model used by the dichroic mirror — while Neutral density instead attenuates every wavelength by the same configured transmission fraction. For a broadband or supercontinuum beam, the transmitted spectrum is the exact overlap between the beam's band and the passband, so a wide beam through a narrow bandpass filter correctly comes out both dimmer and spectrally narrowed.
Rejected light simply vanishes rather than reflecting — this matches the physical picture of an absorptive colored-glass filter, but not a reflective interference filter (for a component that reflects its rejected band instead, use the Dichroic mirror). The passband edge is a hard step with no transition slope, no per-wavelength optical density curve, and no angle dependence. The neutral-density mode is perfectly grey at every wavelength — real ND filters have some spectral ripple — and there's no damage-threshold or thermal modeling for either absorptive heating or reflected back-power.