mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/PCK-Studio.git
synced 2026-05-30 04:25:22 +00:00
SkinRenderer - Change filename for custom skybox texture
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user