mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-11-20 09:29:44 +00:00
fix reverb room rolloff factor minimum value
This commit is contained in:
parent
c641a18d32
commit
f4d4209e48
1 changed files with 1 additions and 1 deletions
|
|
@ -159,7 +159,7 @@ void Decorator::updateAcoustics(const Camera& camera) {
|
|||
acoustics.reverbReflectionsDelay = minDistance / speedOfSound;
|
||||
acoustics.reverbLateReflectionsDelay = averageDistance / speedOfSound;
|
||||
acoustics.reverbDecayTime = decayTime;
|
||||
acoustics.reverbRoomRolloff = escapeRatio * 1.5f;
|
||||
acoustics.reverbRoomRolloff = 0.1f + escapeRatio * 1.5f;
|
||||
acoustics.reverbAbsorption = averageAbsorption;
|
||||
|
||||
audio::set_acoustics(std::move(acoustics));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue