summaryrefslogtreecommitdiff
path: root/scene/3d
diff options
context:
space:
mode:
authorHugo Locurcio <hugo.locurcio@hugo.pro>2022-08-07 22:45:05 +0200
committerHugo Locurcio <hugo.locurcio@hugo.pro>2022-08-09 18:46:52 +0200
commit160d10dc7b09437d77d46517bc69fd8f0ff6eb73 (patch)
tree7e3e7d270f621f993ea0b175e1fc2811bd21f351 /scene/3d
parentc2eaaef1497f8ad557aea9a14e2b3e0582fcfe54 (diff)
Decrease default AudioStreamPlayer2D/3D panning strength
The default panning strength is now more in line with how other engines play positional sound.
Diffstat (limited to 'scene/3d')
-rw-r--r--scene/3d/audio_stream_player_3d.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/3d/audio_stream_player_3d.h b/scene/3d/audio_stream_player_3d.h
index 647b18a4a7..144b647127 100644
--- a/scene/3d/audio_stream_player_3d.h
+++ b/scene/3d/audio_stream_player_3d.h
@@ -117,7 +117,7 @@ private:
float _get_attenuation_db(float p_distance) const;
float panning_strength = 1.0f;
- float cached_global_panning_strength = 1.0f;
+ float cached_global_panning_strength = 0.5f;
protected:
void _validate_property(PropertyInfo &property) const override;