thedocruby / resounding

A New Minecraft mod that provides realistic audio physics using parallel wave tracing and an improved physics algorithm.
https://thedocruby.dev/resounding
GNU Lesser General Public License v3.0
85 stars 4 forks source link

Breaking sounds: short reverb #52

Open YurgenSchn opened 2 years ago

YurgenSchn commented 2 years ago

Description If you break a block on the floor - that has all of its sides and bottom covered - the reverb of this breaking sound will be very short. The criteria seems to be: if the block has only one of its sides exposed, be it the top side, bottom one or any other, then reverb will be very short, not following what its environment would suggest.

Having 2 or more sides exposed (maybe the top and bottom), not even connected to the same airspace, the reverb will play correctly (according to slot sellection)... SOMETIMES. Follow this scenario: in a big cave, I have a small space below the floor. The floor is 1 block thick.

If i break a floor block, exposing the small airspace below it, sometimes the breaking sound will follow the big environment echo, and at other times, the small space characteristics. It seems that the angle that i'm looking at the block, and my distance to it matters.

Maybe its a ray-bias-thing that messes with the accuracy of slot building and selection? (in these 2+ sides exposed cases. The 1 side exposed is consistently bugged)

My Machine: