Quantcast
Channel: Questions in topic: "count"
Viewing all articles
Browse latest Browse all 187

Getting the amount of triangles and vertices being rendered by the camera ?

$
0
0
I want to try something unusual. I want to change the camera clipping values based on the amount of vertices and triangles being rendered on the screen. My question is how can I get the amount of triangles and vertices being rendered and then referencing it in a script ? I know there is a way to get all triangles and vertices in a scene, but I only want the amount of the ones being rendered by the camera.

Viewing all articles
Browse latest Browse all 187

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>