You are viewing the course site for a past offering of this course. The current offering may be found here.
Lecture 6: Rasterization Pipeline (11)
fredhu0514

I have written some static HTML and CSS code before. When the components overlap in alignment in the file, there is a z-index as an indicator parameter for rendering. The larger z-index is, the fronter it is on the top. I'm curious if the z-index in CSS has anything to do with the z-buffer mentioned in the lecture?

Stafftancik

@fredho0514 Yep, great analogy! The z-buffer or z-index is just a way to keep track of what is "closet" and should be rendered.

You must be enrolled in the course to comment