Fixed shaders to be WebGL friendly.