entirely unsure about how to implement a depth buffer into my triangle rasterizer. like yeah you read compare and either write depth and pixel or skip. that's the easy part

it's an affine rasterizer. so is depth an attribute? or do i make "3D" versions of my triFill functions that take 3d verts instead of 2d? do i add near/far normalization or do i foist that on the user?

i guess right now i foist everything off on the user so i guess that's my answer for that

0

If you have a fediverse account, you can quote this note from your own instance. Search https://mastodon.gamedev.place/users/eniko/statuses/116232363399688037 on your instance and quote it. (Note that quoting is not supported in Mastodon.)