SkinRenderer - Change filename for custom skybox texture

This commit is contained in:
miku-666
2024-03-01 15:20:48 +01:00
parent 8955828520
commit 134c0a8bc2

View File

@@ -476,7 +476,7 @@ namespace PckStudio.Rendering
skyboxShader.Validate();
_shaders.AddShader("SkyboxShader", skyboxShader);
string customSkyboxFilepath = Path.Combine(Program.AppData, "cubemap.png");
string customSkyboxFilepath = Path.Combine(Program.AppData, "skybox.png");
Image skyboxImage = File.Exists(customSkyboxFilepath)
? Image.FromFile(customSkyboxFilepath)
: Resources.DefaultSkyTexture;