clamp rendering cover points to 50 units

changes from az render cover points
This commit is contained in:
marauder2k7 2025-07-31 19:12:26 +01:00
parent b9193072c1
commit 78a553a74f
2 changed files with 14 additions and 3 deletions

View file

@ -427,6 +427,8 @@ void duDebugDrawTorque::clearCache()
void duDebugDrawTorque::render(SceneRenderState* state)
{
if (!state->isDiffusePass()) return;
const Frustum& frustum = state->getCameraFrustum();
for (U32 i = 0; i < mDrawCache.size(); ++i)