diff --git a/source/MaterialXView/RenderPipelineGL.cpp b/source/MaterialXView/RenderPipelineGL.cpp index 456ea637b7..78af95047d 100644 --- a/source/MaterialXView/RenderPipelineGL.cpp +++ b/source/MaterialXView/RenderPipelineGL.cpp @@ -166,8 +166,8 @@ mx::ImagePtr GLRenderPipeline::convolveEnvironment() // Bind other uniforms program->bindUniform(mx::HW::CONVOLUTION_MIP_LEVEL, mx::Value::createValue(i)); const mx::Matrix44 yRotationPI = mx::Matrix44::createScale(mx::Vector3(-1, 1, -1)); - program->bindUniform(mx::HW::T_ENV_MATRIX, mx::Value::createValue(yRotationPI)); - program->bindUniform(mx::HW::T_ENV_RADIANCE_MIPS, mx::Value::createValue(numMips)); + program->bindUniform(mx::HW::ENV_MATRIX, mx::Value::createValue(yRotationPI)); + program->bindUniform(mx::HW::ENV_RADIANCE_MIPS, mx::Value::createValue(numMips)); _viewer->renderScreenSpaceQuad(material);