How do I know if the mesh's backface is currently culled?

Hi everyone :grinning:

As you can see from the title, how can I get the information about the culled mesh in real-time?

There’s a mesh on the canvas, but I want to know if it’s not rendered because it’s the back
(Not turning the camera around to check but as a value like boolean, string Etc…)

I looked at the Babylon engine source code, but not solved, so I’m writing a question here.

Here’s a link I created.

Thanks in advance.

You could check the faces’ normal angle to the camera direction :slight_smile:

It’ll take a little more work than I thought. Thank you!

1 Like