Changed referencing for textures a bit