Skip to content

Commit

Permalink
Clobber the alpha channel to 0 when reading ground color from texture
Browse files Browse the repository at this point in the history
  • Loading branch information
siimav committed Jul 23, 2024
1 parent cc24494 commit 951cee4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/GrassSeasoner.cs
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ public static bool TryParseGroundColor(CelestialBody body, double lat, double lo
col = texture.GetPixelColor(x, y);
Debug.Log($"[KSCSwitcher] parsed {col} from color map at {x}, {y}");
col *= colorMult;
col.a = 1;
col.a = 0; // The shader doesn't actually use alpha channel for transparency but something else entirely (specular?)
return true;
}

Expand Down

0 comments on commit 951cee4

Please sign in to comment.