I usually keep my scene files under 28,000 polys, but i was wondering if this is a good number for frame rate purposes.
a lot depends on how many materials and objects and lights there are and how you go about optimizing batches.
I’m fairly new to Unity myself, but 28,000 shouldn’t really be much trouble at all. I normally shoot for 50,000 - 80,000 including gameplay objects though you have to watch lighting if you want that to run on low spec integrated VGA PC’s.
You should be able to go quite a bit higher than that on a modern system.
What do you mean “optimizing batches”? What are batches?
I normally use Ogre and used their term. Batches in Unity are called Render Calls.
If you open up the editor and click on stats in the bar above the game window you get a popup with various types of realtime render data.
Draw calls shows you how many batches of triangle are being sent to the GPU at any time. To reduce these you need to use as few meshes with unique materials as possible and combine as much of the meshes into same material chunks so they all get sent to the video card in one batch.
It’s not quite as simple as I stated above. Complex materials might draw the same mesh multiple times (passes) to render certain effects. Older hardware might require more render passes to produce a material that a modern GPU can render in one pass.
With shader model 2 pixel shaders each light requires a seperate pass, whilst shader model 3 might might do multiple lights in one pass.
So keep your Draw Calls and vertex count as low as you can to get the best performance out of the engine.