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

default shader bug fixed

parent 3cb2cdcd
...@@ -590,7 +590,7 @@ void SimpleRiftController::renderDistorted( OpenGL::ConstSharedTexture2D _sideBy ...@@ -590,7 +590,7 @@ void SimpleRiftController::renderDistorted( OpenGL::ConstSharedTexture2D _sideBy
mBuildInShader = true; mBuildInShader = true;
mDistortShaderTwoTextures->setUniform(uLensCenter, getLensCenter() ); mDistortShaderTwoTextures->setUniform(uLensCenter, getLensCenter() );
mDistortShaderTwoTextures->setUniform(uScreenCenter, getScreenCenter() ); mDistortShaderTwoTextures->setUniform(uScreenCenter, getScreenCenter() );
mDistortShaderTwoTextures->setUniform(uScaleIn, getScaleIn() ); mDistortShaderTwoTextures->setUniform(uScale, getScale() );
mDistortShaderTwoTextures->setUniform(uHmdWarpParam, getHmdWarpParam() ); mDistortShaderTwoTextures->setUniform(uHmdWarpParam, getHmdWarpParam() );
mDistortShaderTwoTextures->setUniform(uChromAbParam, getChromAbParam() ); mDistortShaderTwoTextures->setUniform(uChromAbParam, getChromAbParam() );
} else { } else {
...@@ -637,7 +637,7 @@ void SimpleRiftController::renderDistorted( OpenGL::ConstSharedTexture2D _leftTe ...@@ -637,7 +637,7 @@ void SimpleRiftController::renderDistorted( OpenGL::ConstSharedTexture2D _leftTe
mBuildInShader = true; mBuildInShader = true;
mDistortShaderTwoTextures->setUniform(uLensCenter, getLensCenter() ); mDistortShaderTwoTextures->setUniform(uLensCenter, getLensCenter() );
mDistortShaderTwoTextures->setUniform(uScreenCenter, getScreenCenter() ); mDistortShaderTwoTextures->setUniform(uScreenCenter, getScreenCenter() );
mDistortShaderTwoTextures->setUniform(uScaleIn, getScaleIn() ); mDistortShaderTwoTextures->setUniform(uScale, getScale() );
mDistortShaderTwoTextures->setUniform(uHmdWarpParam, getHmdWarpParam() ); mDistortShaderTwoTextures->setUniform(uHmdWarpParam, getHmdWarpParam() );
mDistortShaderTwoTextures->setUniform(uChromAbParam, getChromAbParam() ); mDistortShaderTwoTextures->setUniform(uChromAbParam, getChromAbParam() );
......
Supports Markdown
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