Commit 5aa39346 authored by Robert Menzel's avatar Robert Menzel

default shader bug fixed

parent 3cb2cdcd
......@@ -590,7 +590,7 @@ void SimpleRiftController::renderDistorted( OpenGL::ConstSharedTexture2D _sideBy
mBuildInShader = true;
mDistortShaderTwoTextures->setUniform(uLensCenter, getLensCenter() );
mDistortShaderTwoTextures->setUniform(uScreenCenter, getScreenCenter() );
mDistortShaderTwoTextures->setUniform(uScaleIn, getScaleIn() );
mDistortShaderTwoTextures->setUniform(uScale, getScale() );
mDistortShaderTwoTextures->setUniform(uHmdWarpParam, getHmdWarpParam() );
mDistortShaderTwoTextures->setUniform(uChromAbParam, getChromAbParam() );
} else {
......@@ -637,7 +637,7 @@ void SimpleRiftController::renderDistorted( OpenGL::ConstSharedTexture2D _leftTe
mBuildInShader = true;
mDistortShaderTwoTextures->setUniform(uLensCenter, getLensCenter() );
mDistortShaderTwoTextures->setUniform(uScreenCenter, getScreenCenter() );
mDistortShaderTwoTextures->setUniform(uScaleIn, getScaleIn() );
mDistortShaderTwoTextures->setUniform(uScale, getScale() );
mDistortShaderTwoTextures->setUniform(uHmdWarpParam, getHmdWarpParam() );
mDistortShaderTwoTextures->setUniform(uChromAbParam, getChromAbParam() );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment