From 10eaf800d1d0ac217eb1d6144ecea0d2c10762dc Mon Sep 17 00:00:00 2001 From: Thomas Ralph Date: Mon, 18 May 2026 18:48:17 -0400 Subject: [PATCH] Added Sol's Parallax-based Shader Name Sol uses 'Hapke-Scaled' as a shader name. In this name-based shader logic, the Hapke shader name needs to be added to the Parallax function logic. --- SCANsat/SCANcontroller.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SCANsat/SCANcontroller.cs b/SCANsat/SCANcontroller.cs index 0f8f4243..8d46dbde 100644 --- a/SCANsat/SCANcontroller.cs +++ b/SCANsat/SCANcontroller.cs @@ -1628,7 +1628,7 @@ void GetVisualMapTexturesForBody(CelestialBody b, out Material material, out boo normalMapTextureName = "_NormalMap"; return; } - else if (shaderName.Contains("ParallaxScaled")) + else if (shaderName.Contains("ParallaxScaled") || shaderName.Contains("HapkeScaled")) // HapkeScaled is the Sol shader which is also a Parallax-dependent instance { SCANparallaxContinued.LoadParallax(b, ref material); useMaterialForColorMap = false;