Where w is the width and h is the height of the current viewport. But I am not entirely certain if this is a good idea? I don't want to sacrifice the ability to zoom in/out that an orthogonal projection would cause. But maybe such a frustum has some undesirable properties I am yet unaware of? I suppose the most significant problem would be that the frustum depends on the viewport dimensions, making z values of GUI elements non-constant.