diff --git a/shaders/audio_renderer.gdshader b/shaders/audio_renderer.gdshader index 474eaf9..79d188d 100644 --- a/shaders/audio_renderer.gdshader +++ b/shaders/audio_renderer.gdshader @@ -198,7 +198,7 @@ vec4 render_song(sampler2D tex, int smp) { float samp = get_instrument_sample(instrument_idx, pitch_idx, t-t_start); samp *= velocity * attack_factor * release_factor; // TODO: proper decay and sustain, revisit release - downmixed_stereo += samp * vec2(1.0-pan, pan) * 0.5; // TODO: double it to maintain the mono level on each channel at center=0.5? + downmixed_stereo += samp * vec2(pan, 1.0-pan) * 0.5; // TODO: double it to maintain the mono level on each channel at center=0.5? } } }