This pull request introduces texture mapping to the OpenGL-based sky map feature by adding new classes for managing textures and updating the existing renderer and skybox code to integrate texture functionality.
New Classes
TextureManager:
Handles loading, binding, and managing textures from assets.
Centralizes texture-related operations to improve modularity and reusability.
TextureBuffer:
Provides an abstraction for texture coordinate buffers.
Facilitates the mapping of textures to 3D objects in the scene.
Updates to Existing Code
Renderer:
Integrated texture mapping into the rendering pipeline.
Updated the fragment shader logic to correctly apply textures to objects.
Added functionality to bind textures using TextureManager.
Skybox:
Refactored skybox code to support texture mapping.
Replaced placeholder color logic with texture-based rendering for a more realistic sky appearance.
This pull request introduces texture mapping to the OpenGL-based sky map feature by adding new classes for managing textures and updating the existing renderer and skybox code to integrate texture functionality.
New Classes
TextureManager:
TextureBuffer:
Updates to Existing Code
Renderer:
Skybox: