Added partial textures support (not finished, going to bed)