Is there a way to have a shader behave differently near a mesh edge?
For example, if a shader generates a checkered pattern, is it possible to detect the edge and make the squares that intersect the edge transparent?
- The solution can be for a single face. In other words if the edge can be detected on a signle face.
- The solution should work even if the face is not a simple shape like a circle, square, or triangle.