YoggieEngine/BarinkEngine/graphics/Material.cpp
Nigel Barink d019155d10 Working on basic rendering #4
* Added a basic material abstraction
* Started implementation of RenderTarget (such as render textures)
2022-06-04 18:26:58 +02:00

10 lines
182 B
C++

#include "../Include/Graphics/Material.h"
Material::Material(const Shader& shader) :
shader(shader) {
}
void Material::Apply() {
shader.setUniformVec3("Color", Color);
}