Sound occlusion removes almost all sound around corners
spsquared opened this issue ยท 8 comments
Bug description
If you build something really loud (like a lightning generator) and stand around a corner the sound almost completely disappears. All my settings were at default and I have no other mods that change the sound physics. It actually also works just by turning the camera so you can't see it anymore. I doubled the amount of rays used to calculate the sounds but I had to increase it to absurd levels to hear anything at all. I think the occlusion is too much because it's only 1 layer of blocks between me and the really loud sounds.
I turned on debug draw and none of the lines reach my player.
Steps to reproduce the issue
- Build really loud sound generator
- Build a wall (I used a building)
- Stand just behind the wall
- Can't hear the sound
Expected behavior
The sound should propagate around the corner and sound a bit muffled, not be completely gone. I think the rays should be able to propagate through blocks more.
Log files
No errors
I also don't know where the debug logs are.
Versions
- 1.19.2
- Fabric-0.14.9-1.19.2
- 1.0.15
Other mods
- Animatica (no changes to sound)
- ArmorHotSwap (no changes to sound)
- Auditory (adds sounds but doesn't change sound physics)
- CaffieneConfig (idk what it does)
- Carpet Mod (no changes to sound)
- Colormatic (no changes to sound)
- Continuity (no changes to sound)
- Distant Horizons (no changes to sound)
- Enhanced Block Entities (no changes to sound)
- Entity-Culling-Fabric (no changes to sound)
- FerriteCore (no changes to sound)
- Indium (no changes to sound)
- Iris (no changes to sound)
- LambDynamicLights (no changes to sound)
- LazyDFU (no changes to sound)
- Litematica (no changes to sound)
- Lithium (no changes to sound)
- MaLiLib (no changes to sound)
- memory Leak Fix (no changes to sound) (yes its capitalized that way)
- Mixin Conflict Helper (no changes to sound)
- Mod Menu (no changes to sound)
- Replay Mod (no changes to sound)
- Simple armor hud (no changes to sound)
- SlimeChunkF3 (no changes to sound)
- Smooth Boot (maybe has an effect)
- Sodium (no changes to sound)
- Sound Physics Remastered
- Starlight (no changes to sound)
- WI Zoom (no changes to sound)
- WorldEdit (no changes to sound)
Screenshots (Optional)
Very loud from here
Literally can't hear it here
Please include screenshots with debug rendering enabled. You find this in the debug section of the settings GUI of the mod.
If I set up a bell to ring constantly outside my house and walk around inside it goes from really loud to completely silent.
Screenshots with debug rendering enabled. Both environment rays and occlusion ray counts have been doubled.
Sound bounces, no occlusion rays, can hear
Occlusion rays, no sound bounces, can hear
Sound bounces, no occlusion rays, cannot hear
Occlusion rays, no sound bounces, cannot hear
Some extra rays exist because of the villagers.
also I'm using bells instead of channeling tridents and lightning rods.
I increased the number of rays by a lot and it helps the issue a little bit, I have to be further around the wall to not hear it, but the performance isn't as good anymore.
That's the thing. There are only a limited number of rays. There will always be specific situations where it sounds weird, but there is simply not enough performance to do it perfectly.
I'm getting less than 1 fps for some reason and the recording is basically a screenshot. Sorry, but I really don't know why my game just died.