Post Process - Help w/ Drawing Shape


I’m trying to figure out how to draw a shape on the screen based on 4 vector positions - one for each point. Four edges.

Getting close to what I want but not sure how to get the vectors to represent each corner of the shape.

Currently it is drawing a rectangle that can’t become a cone / custom shape etc.

Also, how do I get it to draw from an orthographic camera? Only works with perspective.

The first vector represents the maximum, and second represents minimum.