Sounds fade off too quickly so out of screen sounds can often not be heard. We could also expose something script-side to adjust this curve especially for modded content, as their need might differ from vanilla.
Unsure if the low-pass filter would be cheap enough to apply to a couple tens or hundreds of sounds at once. An alternative would be to group sounds by distance and shove them into one of N streams that apply the low-pass filter, which reduces by an order of magnitude how often the filter would have to be applied.
Sounds fade off too quickly so out of screen sounds can often not be heard. We could also expose something script-side to adjust this curve especially for modded content, as their need might differ from vanilla.
Unsure if the low-pass filter would be cheap enough to apply to a couple tens or hundreds of sounds at once. An alternative would be to group sounds by distance and shove them into one of N streams that apply the low-pass filter, which reduces by an order of magnitude how often the filter would have to be applied.