Got everything to compile but 3D texture loading seems broken