move shaders to separate directory

This commit is contained in:
2026-02-22 14:18:49 +01:00
parent f06afc210f
commit 7bc1eaae75
3 changed files with 3 additions and 3 deletions

View File

@ -8,8 +8,8 @@
#include <unordered_set> #include <unordered_set>
#include "config.hpp" #include "config.hpp"
#include "puzzle.hpp"
#include "physics.hpp" #include "physics.hpp"
#include "puzzle.hpp"
#ifdef BATCHING #ifdef BATCHING
#include <cstring> #include <cstring>
@ -121,8 +121,8 @@ auto Renderer::AllocateGraphInstancing(const MassSpringSystem &mass_springs)
-> void { -> void {
cube_instance = GenMeshCube(VERTEX_SIZE, VERTEX_SIZE, VERTEX_SIZE); cube_instance = GenMeshCube(VERTEX_SIZE, VERTEX_SIZE, VERTEX_SIZE);
instancing_shader = instancing_shader = LoadShader("shader/instancing_vertex.glsl",
LoadShader("instancing_vertex.glsl", "instancing_fragment.glsl"); "shader/instancing_fragment.glsl");
instancing_shader.locs[SHADER_LOC_MATRIX_MVP] = instancing_shader.locs[SHADER_LOC_MATRIX_MVP] =
GetShaderLocation(instancing_shader, "mvp"); GetShaderLocation(instancing_shader, "mvp");
instancing_shader.locs[SHADER_LOC_VECTOR_VIEW] = instancing_shader.locs[SHADER_LOC_VECTOR_VIEW] =