Learning C, Day 20 (Z-Buffer)

Z-buffer! It was really quick to add (1 hour). I already had per-pixel Z values from the texture perspective correction code. It looks really cool if I intentionally display the pixels backwards:

Model by Bohdan Lvov, licensed under CC-BY 4.0

Tomorrow I should be implementing a better camera!

2 comments

Leave a comment

Your email address will not be published. Required fields are marked *

Your data is processed in accordance with my privacy policy. Comments are manually approved and may take a while to appear.