calculate hi-res vertex positions. reduces shaking of polygons when rendering at a higher res.

This commit is contained in:
Arisotura
2019-05-11 15:14:59 +02:00
parent 5c9df6a4e5
commit 53b2262917
3 changed files with 19 additions and 1 deletions

View File

@ -39,6 +39,10 @@ typedef struct
s32 FinalPosition[2];
s32 FinalColor[3];
// hi-res position (4-bit fractional part)
// TODO maybe: hi-res color? (that survives clipping)
s32 HiresPosition[2];
} Vertex;
typedef struct