SparrowRenderer/phongmaterial.cpp
2015-06-26 14:56:43 +02:00

10 lines
254 B
C++

#include "phongmaterial.h"
void PhongMaterial::bindAttributes()
{
shader->bindVec3(shader->getLocation("materialKd"), kd);
shader->bindVec3(shader->getLocation("materialKs"), ks);
shader->bindFloat(shader->getLocation("materialNs"), ns);
}