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

Method loadShadowMapTexture

src/Shaders/TrackShader.cpp:90–94  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

renderTrackMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected