| 88 | } |
| 89 | |
| 90 | void TrackShader::loadShadowMapTexture(GLuint shadowMapTextureID) { |
| 91 | loadSampler2D(shadowMapTextureLocation, 1); |
| 92 | glActiveTexture(GL_TEXTURE1); |
| 93 | glBindTexture(GL_TEXTURE_2D, shadowMapTextureID); |
| 94 | } |
| 95 | |
| 96 | void TrackShader::loadAmbientFactor(float ambientFactor){ |
| 97 | loadFloat(ambientFactorLocation, ambientFactor); |