Fixed shader errors on NVIDIA cards

I still can't run it, because of GL_INVALID_OPERATION (Invalid texture format or component count), however, this fixes the compilation errors on nvidia cards