Fix FlashPostProcessEffect channel order.

This commit is contained in:
Paul Chote
2025-03-16 11:53:38 +00:00
committed by Gustas Kažukauskas
parent 37e5b0d74c
commit b40b67242f

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);
}
}
}