Fix FlashPostProcessEffect channel order.

This commit is contained in:
Paul Chote
2025-03-16 11:53:38 +00:00
committed by Gustas
parent de8317d9b8
commit fd12ef1535

View File

@@ -61,7 +61,7 @@ namespace OpenRA.Mods.Common.Traits
protected override void PrepareRender(WorldRenderer wr, IShader shader)
{
shader.SetVec("Blend", blend);
shader.SetVec("Color", (float)Info.Color.B / 255, (float)Info.Color.G / 255, (float)Info.Color.R / 255);
shader.SetVec("Color", (float)Info.Color.R / 255, (float)Info.Color.G / 255, (float)Info.Color.B / 255);
}
}
}