Skip to content

Commit

Permalink
change(/wiki/backface-culling): some notes and links
Browse files Browse the repository at this point in the history
  • Loading branch information
Longor1996 committed May 26, 2024
1 parent 6d2e6d5 commit c389835
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions content/wiki/backface-culling/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,25 @@ tags = ["rendering", "culling", "optimization"]
+++

{{ stub_notice() }}

**Notes:**

- Faces have a *winding order*:
- Clockwise
- Counter-Clockwise
- Faces have a *surface normal*.
- Cameras have a *view direction*.
- The dot-product of a surface-normal and view-direction indicates
if a face is facing the camera, or not.
- GPU rasterizers have built-in back-face culling.
- Vertices (and thus faces) can be *discarded*,
by setting them to `NaN` in the vertex shader.

## References

- [Wikipedia: Back-Face Culling](https://en.wikipedia.org/wiki/Back-face_culling)
- [OpenGL Wiki: (Back)Face Culling](https://www.khronos.org/opengl/wiki/Face_Culling)
- [LearnOpenGL: (Back)Face Culling](https://learnopengl.com/Advanced-OpenGL/Face-culling)
- [Fine-grained Backface Culling by *zeux*](https://zeux.io/2023/04/28/triangle-backface-culling/)
- [Back Face Culling by *jonshiach*](https://jonshiach.github.io/graphics-book/files/4.3_Backface_culling.html)
- [Back Face Culling by *karan*](https://www.dgp.toronto.edu/~karan/courses/csc418/fall_2002/notes/cull.html)

0 comments on commit c389835

Please sign in to comment.