Added support for shaders and texture coordinates.