MCPcopy Create free account
hub / github.com/OpenNFS/OpenNFS / loadCarTexture

Method loadCarTexture

src/Shaders/CarShader.cpp:103–107  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

renderMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected