// Get the instancing material if this mesh qualifies.
a mesh will be drawn using an instancing material hook if it has less than 200 vertices in it. However this is not too optimal in all cases as for instance you might have several different models with < 200 verts in them with no commonality between them.
Drawing a single model with instancing is not a particularly good use of rendering time, especially in OpenGL as the renderer needs to stuff the model position in another vertex buffer, as opposed to just setting the uniform modelview.
Thoughts anyone? Personally I would have thought specifying this elsewhere like in the material itself would make more sense.
The text was updated successfully, but these errors were encountered:
What is the real cost overhead, and is this instantly recovered if the same model is used twice?
What is the cost of instancing a model with variety of vert thresholds, 500, 1000, 2000, 5000, 10000?
What is the cost of instancing vs not instancing 2 models at a variety of vert thresholds 500, 1000, 2000, 5000, 10000?
In
Torque3D/Engine/source/ts/tsMesh.cpp
Line 244 in d5beea4
Drawing a single model with instancing is not a particularly good use of rendering time, especially in OpenGL as the renderer needs to stuff the model position in another vertex buffer, as opposed to just setting the uniform modelview.
Thoughts anyone? Personally I would have thought specifying this elsewhere like in the material itself would make more sense.
The text was updated successfully, but these errors were encountered: