34 lines
515 B
C++
34 lines
515 B
C++
//
|
|
// Created by lbmas on 4/28/2026.
|
|
//
|
|
|
|
#ifndef B_ENGINE_MATERIAL_H
|
|
#define B_ENGINE_MATERIAL_H
|
|
|
|
#include <memory>
|
|
|
|
#include <glm/glm.hpp>
|
|
|
|
#include "Texture.h"
|
|
|
|
typedef struct
|
|
{
|
|
glm::vec3 ambient;
|
|
glm::vec3 diffuse;
|
|
glm::vec3 specular;
|
|
float shininess;
|
|
} PhongProperties;
|
|
|
|
typedef struct
|
|
{
|
|
std::shared_ptr<Texture> diffuse;
|
|
std::shared_ptr<Texture> specular;
|
|
std::shared_ptr<Texture> normal;
|
|
|
|
std::string name;
|
|
|
|
PhongProperties phong;
|
|
} Material;
|
|
|
|
|
|
#endif //B_ENGINE_MATERIAL_H
|