started on assimp importing and texture stuff
This commit is contained in:
30
src/Material.h
Normal file
30
src/Material.h
Normal 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
|
||||
Reference in New Issue
Block a user