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