started on assimp importing and texture stuff

This commit is contained in:
2026-05-01 20:06:54 -05:00
parent cb1d8f753d
commit f9010eea81
20 changed files with 8673 additions and 42 deletions

30
src/Material.h Normal file
View File

@@ -0,0 +1,30 @@
//
// Created by lbmas on 4/28/2026.
//
#ifndef B_ENGINE_MATERIAL_H
#define B_ENGINE_MATERIAL_H
#include <glm/glm.hpp>
#include "Texture.h"
typedef struct
{
alignas(16) glm::vec3 ambient;
alignas(16) glm::vec3 diffuse;
alignas(16) glm::vec3 specular;
float shininess;
} PhongProperties;
typedef struct
{
Texture* diffuse;
Texture* specular;
Texture* normal;
PhongProperties phong;
} Material;
#endif //B_ENGINE_MATERIAL_H