New texture code in. Breaks lightmaps. Need to fix that.