Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
1
Question by ankush kushwaha · Dec 17, 2012 at 03:21 PM · terrainrenderingfogframe rate

How to increase frame-rate in the game (for iOS)

I am new in unity. I am creating a game in unity for iOS.

In my game I have a character who fly like a bird on hilly area (terrain) and player need to prevent its collision from the obstacles coming from front (from Z axis) . My problem was that my game contain a number of objects (50-70 ) ,so the frame rate was decreasing. I had just placed the each object in the scene manually. But after that frame-rate was 5-7 (on 3GS iPhone ). So

1). I made some changes and created the new objects dynamically (which were not visible by user at starting ) via coding (created closer objects first and then others after destroying the previous objects ) . Then my frame-rate got increased 5-7 To 7- 12. The frame rate is still too small . My scene have 20-30 objects at one time .

2). I also tried to make the the hills and mountains on terrain of lower qualities ( by increasing pixel error from 5 to 40 and Base Map Dist to 0. beyond it terrain doesn't look good ) and got frame rate10-15. but still I couldn't get the desired frame rate (22 - 30). Then I thought to divide my Terrain into smaller parts and then make them visible dynamically ( as i hav done with my objects ). But The issue is that our character is flying at high from where user can see the whole terrain So I dropped that idea.

 Is There any solution guys. Can fog-effect in unity provide me some aid . Is there any other factor on which frame-rate depends except resolution of objects & textures and number of objects per scene. Some of my objects have the animations. 

Please guys Help me out

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

2 Replies

· Add your reply
  • Sort: 
avatar image
2
Best Answer

Answer by ankush_Kushwaha · Jan 12, 2014 at 08:06 AM

Check it out . This is for your graphics optimisation. Try to make your camera range maximum 0 - 250. And I guess fog will not resolve your problem. Fog will increase the rendering for machine (device) which put more load on GPU. Try to avoid the fog.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
1

Answer by deltamish · Dec 17, 2012 at 04:05 PM

Hi, fog effect does add to some performance of the game .Use Occlusion Culling.It increases your frame rate rapidly.Use Light maps for static objects and light probes for dynamic objects. Optimize your script by pre caching it.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

11 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Set RenderQueue for Terrain 2 Answers

Turn On Fog In Script? 1 Answer

Fog doesn't work on Android 1 Answer

Grass not getting original texture, generating grass in a good way? and more 0 Answers

Why does my density volume look like this? 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges