cube mapping. needs more organization.