| 35 | } |
| 36 | |
| 37 | void BillboardShader::loadLight(Light board_light) { |
| 38 | loadVec4(lightColourLocation, board_light.colour); |
| 39 | loadVec3(billboardPosLocation, board_light.position); |
| 40 | loadBillboardTexture(); |
| 41 | } |
| 42 | |
| 43 | void BillboardShader::loadMatrices(const glm::mat4 &projection, const glm::mat4 &view, const glm::mat4 &transformation) { |
| 44 | loadMat4(viewMatrixLocation, &view[0][0]); |