UpdateCurrentShader war really slow...

There were 52 "GetShaderParam" for every object and frame.
Fixed WebBuild

Accidentally removed a function because it's only important for the
webbuild.