NHacker Next
  • new
  • past
  • show
  • ask
  • show
  • jobs
  • submit
Precomputing Transparency Order in 3D (jacobdoescode.com)
bschwindHN 8 hours ago [-]
> Today, getting the correct order for translucent faces typically involves sorting the faces by their distance to the camera on the CPU, then sending the sorted faces to the GPU. This means every time the camera moves, you need to re-sort the translucent faces.

Don't most games and rendering engines these days use order-independent transparency if they care about these problems?

https://osor.io/OIT

How does the method in the OP article work if you're rendering meshes instead of planar objects? Sure, a mesh is just composed of planar triangles, but that's a _lot_ of triangles to sort, and with an O(n^2) algorithm, it's going to be painful.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact
Rendered at 19:09:00 GMT+0000 (UTC) with Wasmer Edge.