r/GraphicsProgramming • • Oct 11 '26

whats wrong with my Cube??? :(

Post image

I know what is missing, but can you figure it out???

heres the repo btw:
https://github.com/Tetraeder4/3DRenderer/tree/467c8d1ac8dbd09a23ce7bc7e2fcba59afe36ea5/3DRenderer

100 Upvotes

28 comments sorted by

View all comments

1

u/dybuk87 Oct 12 '26

You either have to use z buffer or sort rendering base on average Z value