Fix menu effects ignoring annotations

This commit is contained in:
Gustas
2025-12-30 21:49:19 +02:00
committed by Paul Chote
parent 6e98d7f73e
commit 638c0d7db1
13 changed files with 27 additions and 24 deletions

View File

@@ -93,7 +93,7 @@ namespace OpenRA.Mods.Cnc.Traits
shader.SetVec("Scroll", scroll.X, scroll.Y);
shader.SetVec("p1", width, height);
shader.SetVec("p2", -1, -1);
shader.SetTexture("WorldTexture", Game.Renderer.WorldBufferSnapshot());
shader.SetTexture("SourceTexture", Game.Renderer.GetRenderBufferSnapshot());
shader.SetTexture("VortexTexture", vortexSheet.GetTexture());
shader.PrepareRender();
foreach (var (pos, frame) in vortices)