ZNEAR and ZFAR constants
Partly fixed turning off textures, but now you can't turn them on
properly again (need to specify a material)