Effect

Different types of effects that can be applied with Source:setEffectEnabled.

ValueDescription
absorptionModels absorption as sound travels through the air, water, etc.
falloffDecreases audio volume with distance (1 / max(distance, 1)).
occlusionCauses audio to drop off when the Source is occluded by geometry.
reverbModels reverb caused by audio bouncing off of geometry.
spatializationSpatializes the Source using either simple panning or an HRTF.
transmissionCauses audio to be heard through walls when occluded, based on audio materials.

Notes

The active spatializer will determine which effects are supported. If an unsupported effect is enabled on a Source, no error will be reported. Instead, it will be silently ignored.

TODO: expose a table of supported effects for spatializers in docs or from Lua.

See also