Godot Version
4.2
Question
Is it possible to use a shader to generate an orthogonal silhouette of a mesh, then calculate the area of that silhouette? Even if this was done at a relatively low resolution and the returned value was just the number of black pixels, that would be enough. I’m trying to get an approximation of reference area for some simplified drag calculations and figured if a shader could do it, that might be faster. I wouldn’t be displaying this anywhere for the player to see, it would be used exclusively to get the area of the silhouette.