Author Topic: what is Depth Buffer in OpenGL  (Read 889 times)

admin1

  • Administrator
  • Newbie
  • *****
  • Posts: 46
    • View Profile
what is Depth Buffer in OpenGL
« on: October 22, 2016, 08:02:14 AM »
The depth buffer stores a depth value for each pixel, and is used for
determining the visibility of objects in a three-dimensional scene. Depth is
measured in terms of distance to the eye, so pixels with larger depth-buffer
values are overwritten by pixels with smaller values