How to filter your shaders
can you explain where the 0.7 comes from? i assume it's 1.0/sqrt(2) approximation, but can you explain specifically why that's desirable in this case?
Hey Nick! Yes, it is an approximation of sqrt(0.5). This is because the diagonal length from center of each pixel to the far corners is sqrt(0.5). I want the gradient to be able to span one pixel diagonally
can you explain where the 0.7 comes from? i assume it's 1.0/sqrt(2) approximation, but can you explain specifically why that's desirable in this case?
Hey Nick! Yes, it is an approximation of sqrt(0.5). This is because the diagonal length from center of each pixel to the far corners is sqrt(0.5). I want the gradient to be able to span one pixel diagonally