The shader code is currently embedded directly in the codebase, which is not ideal for maintainability and scalability. Move the shader code into dedicated resource files (e.g., .glsl files) to achieve better separation and easier updates. This will:
Centralize shader management in resource files.
Improve readability of both the shaders and the primary application code.
Facilitate easier modifications or updates to the shaders in the future.
Acceptance Criteria:
Extract existing shader code into .glsl resource files.
Update the OpenGL initialization to load shader code from these resource files.
Ensure the application functions correctly after the refactor.
Description:
The shader code is currently embedded directly in the codebase, which is not ideal for maintainability and scalability. Move the shader code into dedicated resource files (e.g.,
.glsl
files) to achieve better separation and easier updates. This will:Acceptance Criteria:
.glsl
resource files.