Skip to content
项目

关于

为 Godot 添加光线追踪音频。

设计与媒体

这些数字如何统计

实测星标增长

24小时
0
7天
+1
15天
+4
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

raytraced-audio

Adds procedural audio effects to Godot like echo, ambient outdoor sounds, and muffle.

Showcase Video

Check out this amazing video by Vercidium for insights on how this works!

No need to create and maintain zones while creating levels, just put the RaytracedAudioListener node in your scene and most features will be available for you to use!

Additionally, by using RaytracedAudioPlayer3Ds instead of regular AudioPlayer3Ds, sounds will get automatically muffled behind walls.

Audio buses

Right off the bat, this plugin creates 2 new audio buses for you to use across your project: a "Reverb" bus, and an "Ambient" bus. Note: both buses' names can be changed under Project Settings > Raytraced Audio.

The reverb bus controls echo / reverb. For example, there will be a much bigger reverb in large enclosed rooms compared to small ones, or outside in the open.

The ambient bus controls the strength and pan of sounds coming from outside. For example, in a room with a single opening leading outisde, sounds in this bus will appear to come from that opening, and will fade based on the player's distance to it.

Performace

Because the rays need to gather different informations about the environment, the actual number of processed rays can go up to:

rays_count * (2 + n) where n is the number of enabled RaytracedAudioPlayer3Ds in the scene.

That is:

(rays_count: configurable) * (1 ray that bounces around + 1 echo ray + (1 muffle ray per enabled RaytracedAudioPlayer3D))

Raytraced Audio also adds 2 performance monitors:

  • raytraced_audio/raycast_updates: How many raycast updates happened in the update tick
  • raytraced_audio/enabled_players_count: How many RaytracedAudioPlayer3Ds are currently enabled in the scene

Installation

Manual installation

  • Download or clone this repository
  • Copy the addons/raytraced_audio folder into your project's addons/ folder
  • Enable the plugin in Project Settings > Plugins > Raytraced Audio

探索相关项目

加载中…