I don't understand this statement:
"This instancing allows the application to cull instances that are, for example, outside the view frustum."
How is it possible to do CPU view frustum culling with instancing ? Or does it refer to GPU view frustum culling ?
Tzuchien Chiu said:How is it possible to do CPU view frustum culling with instancing ?
Exactly the same way you would do frustum culling without instancing. Test each instance's bounding box against the frustum, upload a new uniform buffer containing only the visible instances.HTH, Pete
The statement actually means "instancing allows the application (users) to implement GPU view frustum culling". Is that right ?
I read it incorrectly: "instancing enables (CPU) view frustum culling".
Correct. The idea is that instancing is an improvement over static batching, for which such instance-wise culling would be impossible.
I'll raise a ticket with our docs team to improve the wording; it's not clear.
View all questions in Graphics and Gaming forum