GLSL Tessellation shader number of triangles/faces?
问题 I have implemented a triangle tessellation shader as shown in the example on this website. How can I determine the total number of faces that would be output for defined inter and outer tessellation factors? - It doesn't effect my program in any way I would just like to know my poly/face count. 回答1: The number of triangles for the barycentric subdivision of a single triangle (where the inner and outer subdivision is equal) can be found using a simple recursion: // Calculate number of