18 lines
323 B
C++
18 lines
323 B
C++
#include "skyboxmaterial.h"
|
|
#include "texture.h"
|
|
|
|
SkyBoxMaterial::SkyBoxMaterial(Shader* myShader, const std::string filenames[6]) : Material(myShader)
|
|
{
|
|
skyboxTex = new Texture(filenames);
|
|
}
|
|
|
|
void SkyBoxMaterial::bindAttributes()
|
|
{
|
|
skyboxTex->bind(0);
|
|
}
|
|
|
|
bool SkyBoxMaterial::requireLights()
|
|
{
|
|
return false;
|
|
}
|