performance

a few performance questions

  1. some where on this forum theres a post talking about infinite terrains, how does that work?? how does it not have a huge performance impact, and how do i do it??

  2. does the prefabs and textures and all the standard assets that are in my project( not my scene) that i dont use effect performance?? and if it does how much

  3. i really like the way basic outline toon shader looks, but why does it have such a big performance hit?? with just basic toon shader my FPS in a simple scene is 100, with basic outline it drops to 60

  1. only part of it is rendered at once. Either it is generated on the fly, tiling, or not actually infinite.

  2. No. But it would be worth it to check and make sure that you don’t have stuff in your scene you don’t need.

  3. I don’t know. Probably because the toon shader does a lot of vertex manipulations and draws the whole mesh twice.

sweet thanks alot for the quick reply

It’s drawing the mesh twice, so it’s almost the same as doubling the object count. Now, depending on your scene setup, hardware and whatnot, this might be a problem.

…and of course, do not measure performance in the editor. If it drops from 100FPS to 60FPS in the editor, that’s nothing. Measure with a standalone player.

Definately test everything in a standalone player.
In editor, my fps can drop on my projects to under 57.
In a standalone player, that same scene is over 180.
Editor has all the debug data with it.

are some stand alone bulds faster than others?? like is web player slower than mac stand alone or widget or is it all the same

In webplayer (windowed mode), the FPS is capped at 50. In fullscreen mode it’s not capped, but still might a bit slower than a standalone player.