aboutsummaryrefslogtreecommitdiffstats
path: root/src/game.c
diff options
context:
space:
mode:
authornathan <nathansmith@disroot.org>2025-08-10 13:17:41 +0000
committernathan <nathansmith@disroot.org>2025-08-10 13:17:41 +0000
commit30f930498048466965066dfec330f5f7500bb3a0 (patch)
tree5a9226ac74c9fe22f265d1b590252d5bd31642a3 /src/game.c
parent2a62d42bd169f97feec737261cdcc68b7d5c3733 (diff)
downloadFindThings-30f930498048466965066dfec330f5f7500bb3a0.tar.gz
FindThings-30f930498048466965066dfec330f5f7500bb3a0.tar.bz2
FindThings-30f930498048466965066dfec330f5f7500bb3a0.zip
Cleaner shader config thingy
Diffstat (limited to 'src/game.c')
-rw-r--r--src/game.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/game.c b/src/game.c
index 0d1fa79..c4563c9 100644
--- a/src/game.c
+++ b/src/game.c
@@ -19,12 +19,6 @@ void initGame(Game* game)
// Skybox.
game->skybox = LoadModelFromMesh(GenMeshCube(1.0, 1.0, 1.0));
game->skybox.materials[0].shader = game->assets.shaders[SKYBOX_SHADER];
-
- SetShaderValue(
- game->skybox.materials[0].shader,
- GetShaderLocation(game->skybox.materials[0].shader, "environmentMap"),
- (int[1]){ MATERIAL_MAP_CUBEMAP }, SHADER_UNIFORM_INT);
-
game->skybox.materials[0].maps[MATERIAL_MAP_CUBEMAP].texture =
LoadTextureCubemap(game->assets.images[SKYBOX_IMAGE],
CUBEMAP_LAYOUT_AUTO_DETECT);