Got textures working, finally