Files
b_engine/src/Material.h

30 lines
461 B
C
Raw Normal View History

//
// 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