Fixed compiler warnings.
Fixed compile warnings.
Fixed GLSL shader portability.