| 101 | } |
| 102 | |
| 103 | void CarShader::loadCarTexture(){ |
| 104 | loadSampler2D(carTextureLocation, 1); |
| 105 | glActiveTexture(GL_TEXTURE1); |
| 106 | glBindTexture(GL_TEXTURE_2D, textureID); |
| 107 | } |
| 108 | |
| 109 | void CarShader::loadEnvironmentMapTexture(){ |
| 110 | loadSampler2D(envMapTextureLocation, 2); |