Object drawcall changing based on distance?

Hey,

I was wondering why at some point, my object would generate more drawcall depednig on the Z distance, meaning it’s getting further from the camera.

An exemple I’m getting right now.

My object’s at 10 unit in Z = 1 Draw Calls

My object’s at 29 unit exactly in Z = 7 Draw Calls

My object’s at 30 unit exactly in Z = 3 Draw Calls

Another exemple, lets say I have 3 of the same objects in my scene and take only 1.

Between 0 and 28 Z unit = 1 Draw Calls

Above this = 6 Draw Calls

Can we keep object batched even when it’s far from the camera?

alt text

Thanks!

Can you post a little bit more information, and perhaps some screenshots? What is contained within your object? I assume it's some sort of mesh? At any point does the object extend beyond your camera's field of view?

–

Might have something to do with anti-aliasing? Also, what shader are you using?

–

There, a screeshot, thanks! Basic diffuse

–

1 Answer

1

Hello, we’re using Mobile Diffuse. AA has been taken off and it didnt solve the problem.