Counting percentage of visible Mesh

ArsalanBZ
Thu, 17 Feb 2022 15:59:19 +0000
Rendering

Hi guys,
i would like to know a method to find out how much of a chosen actor is/was visible from the cameraview at a given time.
Something like the pokemon snap system.

What i have already tried were finding out if visible at all with recently rendered and dot product and what i’ve also tried was line and shape tracing but the results were mediocre.

I think the way it works in a game like snap would be to assign a unique material to the actors i want to track and when doing the “snap” the scene renders black and the actors white and there is a counting of the white pixels.

I have absolutly no clue how to achieve this and would be thanksfull for any directions and help.

10 posts - 4 participants