Jump to content

Guide to Game Development/Theory/Miscellaneous theory/Depth buffer

25% developed
From Wikibooks, open books for an open world

About

[edit | edit source]

A depth buffer ensures that items are drawn in the correct order. It's a list of all of the items that need to be drawn to the scene, and it puts them in the order of how close they are to the camera.

This is an example of a scene rendered with no depth buffer.

References

[edit | edit source]