Home › Per LearnOpenGL (depth testing), the Z-BUFFER st…
Per LearnOpenGL (depth testing), the Z-BUFFER stores which value at each pixel?
ATexture coordinate u only
BDepth (distance from camera)
CTriangle ID per fragment
DBrightness scalar value only
Answer & Solution
Correct answer: B. Depth (distance from camera)
LearnOpenGL Depth Test: Z-buffer stores per-pixel depth. New fragments pass only if closer than current; sorts occlusion automatically.
Related questions
Per Book of Shaders + LearnOpenGL, the standard COLOR model for screen rendering is which?Per Khan Academy Pixar-in-a-Box (parametric curves), a CUBIC Bezier curve is defined by hoPer LearnOpenGL (blending), the standard ALPHA blending formula is which?Per LearnOpenGL (PBR), Physically Based Rendering uses which microfacet-based reflection mPer LearnOpenGL (lighting), the PHONG reflection model adds which three components?Per LearnOpenGL (textures), the (u, v) coordinates of a texture are normalised to which raPer LearnOpenGL (transforms), a 2D AFFINE transformation typically combines which two operIn common practice (game engines), the typical TARGET frame rate for modern console / PC g