Download

Post Process - Help w/ Drawing Shape

Hi,

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.

2b9188cdb5ac5620b43760ce1286f4ba6bdca855.jpeg