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

Method loadEnvironmentMapTexture

src/Shaders/CarShader.cpp:109–113  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

107}
108
109void CarShader::loadEnvironmentMapTexture(){
110 loadSampler2D(envMapTextureLocation, 2);
111 glActiveTexture(GL_TEXTURE2);
112 glBindTexture(GL_TEXTURE_2D, envMapTextureID);
113}
114
115void CarShader::loadSpecular(float damper, float reflectivity, float env_reflectivity){
116 loadFloat(shineDamperLocation, damper);

Callers 1

renderMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected