10 lines
254 B
C++
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);
|
|
}
|
|
|