Showing the changes to interface/src/MetavoxelSystem.cpp (1 of 1 file). Show all
Unified · Split
| @@ -1105,8 +1105,8 @@ void DefaultMetavoxelRendererImplementation::init() { · 1104 unmodified lines | ||
| 1105 | 1105 | _baseHeightfieldProgram.bind(); |
| 1106 | 1106 | _baseHeightfieldProgram.setUniformValue("heightMap", 0); |
| 1107 | 1107 | _baseHeightfieldProgram.setUniformValue("diffuseMap", 1); |
| 1108 | − _baseHeightScaleLocation = _heightfieldProgram.uniformLocation("heightScale"); | |
| 1109 | − _baseColorScaleLocation = _heightfieldProgram.uniformLocation("colorScale"); | |
| 1108 | + _baseHeightScaleLocation = _baseHeightfieldProgram.uniformLocation("heightScale"); | |
| 1109 | + _baseColorScaleLocation = _baseHeightfieldProgram.uniformLocation("colorScale"); | |
| 1110 | 1110 | _baseHeightfieldProgram.release(); |
| 1111 | 1111 | |
| 1112 | 1112 | _splatHeightfieldProgram.addShaderFromSourceFile(QGLShader::Vertex, Application::resourcesPath() + |