From 14995257e828916ac7e0198d655a184c2490c090 Mon Sep 17 00:00:00 2001 From: flogross89 <63071941+flogross89@users.noreply.github.com> Date: Thu, 24 Oct 2024 04:22:58 +0200 Subject: [PATCH] overwrite with non-transparent pixel on frame change --- .../src/terrain/processing/gpu/rendering/navigationdisplay.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/server/src/terrain/processing/gpu/rendering/navigationdisplay.ts b/apps/server/src/terrain/processing/gpu/rendering/navigationdisplay.ts index 5f2bf1c1..0fa047bb 100644 --- a/apps/server/src/terrain/processing/gpu/rendering/navigationdisplay.ts +++ b/apps/server/src/terrain/processing/gpu/rendering/navigationdisplay.ts @@ -163,7 +163,7 @@ export function renderNormalMode( return drawDensityPixel(patternMapValue, 5, [255, 148, 255, 255]); } - return [4, 4, 5, 0]; + return [0, 0, 0, 255]; } export function renderPeaksMode( @@ -227,7 +227,7 @@ export function renderPeaksMode( return drawDensityPixel(patternMapValue, 5, [255, 148, 255, 255]); } - return [4, 4, 5, 0]; + return [0, 0, 0, 255]; } export function renderNavigationDisplay(