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
0
Question by FatallErroR · Jul 30, 2013 at 01:32 AM · renderinggraphicsrendererframes

Problem with open world games

Hello guys,

I'm developping an Open World game and it's just too big already, i'm afraid that slow computers will have trouble rendering the whole world, it'll make it impossible to access the game on less powerful computers. I've noticed a solution of its kind in GTA SA, the game only render the land, people and buildings near the player, preventing the game to render the whole world the camera sees.

I wonder if this kind of technique is possible in Unity3d and I'd like to do it somehow in the script.

Thanks in advance

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

3 Replies

· Add your reply
  • Sort: 
avatar image
2

Answer by Eric5h5 · Jul 30, 2013 at 01:38 AM

Unity does that automatically. It's called view frustum culling; anything outside the view frustum is not rendered.

Comment
Add comment · Show 5 · 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 FatallErroR · Jul 30, 2013 at 01:42 AM 0
Share

I didn't know Unity did that, and sadly, i don't know how to do this. I'll do some research but any help is appreciated.

Thank you very much

avatar image Eric5h5 · Jul 30, 2013 at 01:46 AM 0
Share

I don't know what you mean. You don't have to do anything.

avatar image FatallErroR · Jul 30, 2013 at 01:55 AM 0
Share

Well, i wanna decrease the distance that Camera skips rendering objects that are further away than farClipPlane, i wanna set up smaller "culling" distance, so my game renders only objects that are really near the player. Sorry if i'm not making myself understandable, i suck at explaining things haha. Thank you

avatar image Eric5h5 · Jul 30, 2013 at 01:57 AM 2
Share

Oh, in that case, use layer cull distances.

avatar image FatallErroR · Jul 30, 2013 at 02:57 AM 0
Share

This was exactly what i was looking for, thank you very much Eric.

avatar image
1

Answer by kookabara · Nov 11, 2013 at 11:44 AM

occlusion culling is good for this procedural world rendering i got 3 terrain 3k x 3k resolution and works good on 60 fps ( my trees are - mesh renderer type with tags! ) and i didnt use too much downloaded 3D object aside from NPC most of rock are build in Terrain brush tool + texture off course

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 supadupa64 · Apr 12, 2016 at 04:32 PM

Here's your options:

1) Occlusion Culling

2) Split map into different scenes, load them as you travel around

3) Mesh Baker (last resort probably or just to fine tune things)

4) If you want to put more time into your layout design, you can get this or something like this: https://www.assetstore.unity3d.com/en/#!/content/38168

5) Celebrate high FPS

6) The End

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

18 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 avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Graphics.DrawTexture vs GUI.DrawTexture vs Graphics.Blit 0 Answers

White lines in the tilemaps 0 Answers

Unity 2019.4.17 crashes when working in HDRP 1 Answer

Overlapping particle systems 0 Answers

Render a camera multiple times in a single frame? 1 Answer


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