Fix FlashPostProcessEffect channel order.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user