Godot 3D Audio – Audio Occlusion

Godot 3D Audio – Audio Occlusion

Audio is such an essential part of any recreation and 3D audio in 3D video games provides massively to immersion. Today we’re going to take a look at two completely different Godot add-ons that add Audio Occlusion capabilities to the Godot recreation engine. The first resolution is VASTLY simpler to make use of; the aptly named Godot Audio Occlusion Plugin that’s a part of the Audio Arsenal bundle by Ovani Sounds. The different is a part of the free and open-source Giga Audio plugin, which additionally supplies two completely different 3D space audio zones.

The Ovani Godot Audio Occlusion Plugin is described as:

The Audio Occlusion Plugin for Godot makes sounds in your recreation behave extra realistically. When a sound is behind a wall, door, or impediment, this plugin will routinely make it sound muffled or filtered—identical to it could in actual life.

It works by attaching an AudioOccluder (a Node3D) to any AudioStreamPlayer3D in your scene. The plugin calculates how sound would journey by means of the atmosphere and adjusts the audio in actual time, relying on what’s between the supply and the listener.

To do that, it simplifies your world right into a voxel grid—a 3D block-based map—and simulates how sound waves transfer by means of it. You may even preview how the plugin sees your world by enabling Voxel Preview within the Inspector (after activating the included plugin.gd).

You can simply customise settings like:

  • Range
  • Voxel decision
  • Collision masks
  • Detection margin

The Giga Audio plugin is described as:

Audio Occlusion, Audio Areas, and Audio Depth Areas to your venture.

…yeah, barely much less verbose description there. 😉 You will discover that as a basic development, the Giga Audio plugin has much less documentation and no samples to get you up and going. Don’t fear although, we’ve that course of largely lined within the video under.

Key Links

Audio Arsenal bundle by Ovani Sounds

Ovani Godot Audio Plugin

Giga Audio GitHub Repository

Giga Audio YouTube Video

Using the hyperlinks on this web page to buy the bundle helps assist GFS and thanks a lot if you happen to do! You can study extra about utilizing each of the Godot 4.x audio occlusion add-ons within the video under.

HI-FI News

by way of GameFromScratch.com https://ift.tt/uMXgVdi

May 26, 2025 at 05:48PM