mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 18:23:54 +02:00
Quick fix for base colors underneath terrain.
This commit is contained in:
parent
da96a4a458
commit
bf5e5fd72c
1 changed files with 2 additions and 2 deletions
|
@ -1050,8 +1050,8 @@ void DefaultMetavoxelRendererImplementation::init() {
|
|||
_baseHeightfieldProgram.bind();
|
||||
_baseHeightfieldProgram.setUniformValue("heightMap", 0);
|
||||
_baseHeightfieldProgram.setUniformValue("diffuseMap", 1);
|
||||
_baseHeightScaleLocation = _heightfieldProgram.uniformLocation("heightScale");
|
||||
_baseColorScaleLocation = _heightfieldProgram.uniformLocation("colorScale");
|
||||
_baseHeightScaleLocation = _baseHeightfieldProgram.uniformLocation("heightScale");
|
||||
_baseColorScaleLocation = _baseHeightfieldProgram.uniformLocation("colorScale");
|
||||
_baseHeightfieldProgram.release();
|
||||
|
||||
_splatHeightfieldProgram.addShaderFromSourceFile(QGLShader::Vertex, Application::resourcesPath() +
|
||||
|
|
Loading…
Reference in a new issue