Closed mitchmindtree closed 5 years ago
The Vertex input should look something like this:
Vertex
struct Vertex { position: Point3, light: Light, } enum Light { Wash { index: usize, }, Led { index: usize, row_col: [usize; 2], normalised_coords: Point2, } }
Sweet this will actually make coming up with shaders much more intuatively.
The
Vertex
input should look something like this: