From db6d04174f7c453744841e4bfcb8b66b2a7a5f23 Mon Sep 17 00:00:00 2001 From: JappaWakka Date: Tue, 17 Sep 2024 20:39:33 +0200 Subject: [PATCH] Make shaders also visible on offsetmaps --- P3D/World/LevelLoader.vb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/P3D/World/LevelLoader.vb b/P3D/World/LevelLoader.vb index e0927afc0..08755e415 100644 --- a/P3D/World/LevelLoader.vb +++ b/P3D/World/LevelLoader.vb @@ -223,9 +223,7 @@ Case TagTypes.NPC AddNPC(Tags) Case TagTypes.Shader - If loadOffsetMap = False Then - AddShader(Tags) - End If + AddShader(Tags) Case TagTypes.OffsetMap If loadOffsetMap = False Or offsetMapLevel <= Core.GameOptions.MaxOffsetLevel Then AddOffsetMap(Tags) @@ -250,6 +248,8 @@ If s.HasBeenApplied = False Then s.ApplyShader(Screen.Level.Entities.ToArray()) s.ApplyShader(Screen.Level.Floors.ToArray()) + s.ApplyShader(Screen.Level.OffsetmapEntities.ToArray()) + s.ApplyShader(Screen.Level.OffsetmapFloors.ToArray()) End If Next