This is an example for a cube perspective projection is done in the shader code. cube geometry is provided in the geometry module.