logoalt Hacker News

swiftcodertoday at 3:37 PM1 replyview on HN

Reverse painters algorithm is still painters algorithm. You trade off the cost of a full screen clear before the frame, in return for eliminating overdraw


Replies

knometoday at 3:45 PM

You could avoid a full screen clear by using the y-buffer to draw in sky segments after rendering terrain.

show 1 reply