Fix bakery ™️

This commit is contained in:
mcrcortex
2024-07-30 10:42:33 +10:00
parent 87f7d71c94
commit 433f3ace9f
6 changed files with 26 additions and 17 deletions

View File

@@ -56,8 +56,10 @@ void setupScreenspace(in UnpackedNode node) {
}
//TODO: MORE ACCURATLY DETERMIN SCREENSPACE AREA, this can be done by computing and adding
// the projected surface area of each face which winding order faces the camera
// (this is just the dot product of 2 projected vectors afaik)
// the projected surface area of each face/quad which winding order faces the camera
// (this is just the dot product of 2 projected vectors)
//can do a funny by not doing the perspective divide except on the output of the area
//printf("Screenspace MIN: %f, %f, %f MAX: %f, %f, %f", minBB.x,minBB.y,minBB.z, maxBB.x,maxBB.y,maxBB.z);