From 916a55108b0387372cf5308cc271f74bc9699245 Mon Sep 17 00:00:00 2001 From: Ray Martone Date: Sat, 1 Aug 2026 10:39:43 -0400 Subject: [PATCH] Fix MSDF text transform inside Filters.Mask Pass ignoreCameraPosition to GetCalcMatrix during framebuffer rendering, matching Phaser's stock WebGL renderers and preventing the filter camera position from being applied twice. --- src/MSDFTextWebGLRenderer.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MSDFTextWebGLRenderer.ts b/src/MSDFTextWebGLRenderer.ts index add01f8..45fe720 100644 --- a/src/MSDFTextWebGLRenderer.ts +++ b/src/MSDFTextWebGLRenderer.ts @@ -782,7 +782,7 @@ function MSDFTextWebGLRenderer( return; } - const matrixResult = GetCalcMatrix(src, camera, parentMatrix); + const matrixResult = GetCalcMatrix(src, camera, parentMatrix, !drawingContext.useCanvas); const calcMatrix = matrixResult.calc; // The object's own alpha, published for every pack below. A modulation, not a