|
So, I've got less than 5 lights, a terrain, 3 animated models with less than 3000 tris a mesh, a few low poly buildings, and a skybox. Why is this stuttering really badly in the Web Player? We're in Firefox 3.5 on a Macbook Pro. Anyone know of anything I could be doing terribly wrong? I've watched the Optimization video from Unite 2007, but I feel that might be a bit out dated. Thanks
(comments are locked)
|
|
First, how many bones in your animated models? (in case you have a crazy number!) Second, there are a number of settings in the Terrain engine which can affect performance. To improve performance you can:
A screenshot or more detailed description of what your terrain is like might help solve the problem. Eg, how many splatmaps / grass textures / detail meshes etc are you using? How densely distributed are your trees? There's a chance the above settings could solve your problem, if you have previously adjusted all these settings for maximum visual effect, and you have a lot of detailed tree meshes. I also notice that you haven't mentioned any scripting in your post - are you using any custom written scripts, or just using built-in scripts from Unity's standard assets? Much Appreciated. I'm using a few custom scripts that are in JavaScript, but I am porting over to C# for maximum speed. As for the Terrain, I have no trees, no grass. I'm going to mess with those Terrain settings, and get back. Thanks again.
Nov 16 '09 at 10:41 PM
Seantron
Porting to c# won't necessarily give you better performance (depending on how your JS was coded in the first place). It certainly wouldn't make the difference between "stuttering really badly" and good performance. What those scripts are actually doing (whether in c# or JS) could be the key though.
Nov 17 '09 at 09:40 AM
duck ♦♦
(comments are locked)
|
