thanks to @griffpatch for the original and @VinnieK2008 for portal textures. I coded everything else myself.