Nigel Barink
d019155d10
* Added a basic material abstraction * Started implementation of RenderTarget (such as render textures)
10 lines
182 B
C++
10 lines
182 B
C++
#include "../Include/Graphics/Material.h"
|
|
|
|
Material::Material(const Shader& shader) :
|
|
shader(shader) {
|
|
}
|
|
|
|
|
|
void Material::Apply() {
|
|
shader.setUniformVec3("Color", Color);
|
|
} |