12.6 C
New York
Thursday, May 29, 2025

Godot 3D Audio – Audio Occlusion – GameFromScratch.com


Audio is such an vital element of any recreation and 3D audio in 3D video games provides massively to immersion. At present we’re going to have a look at two completely different Godot add-ons that add Audio Occlusion capabilities to the Godot recreation engine. The primary answer 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 opposite 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 will in actual life.

It really 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’ll be able to even preview how the plugin sees your world by enabling Voxel Preview within the Inspector (after activating the included plugin.gd).

You’ll be able to simply customise settings like:

  • Vary
  • Voxel decision
  • Collision masks
  • Detection margin

The Giga Audio plugin is described as:

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

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

Key Hyperlinks

Audio Arsenal bundle by Ovani Sounds

Ovani Godot Audio Plugin

Giga Audio GitHub Repository

Giga Audio YouTube Video

Utilizing the hyperlinks on this web page to buy the bundle helps help GFS and thanks a lot in the event you do! You’ll be able to be taught extra about utilizing each of the Godot 4.x audio occlusion add-ons within the video under.

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles