UpdateCurrentShader() is necessary...

...after UpdateShaderParams();