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 Braveheart · May 04, 2013 at 06:52 PM · multiplayerlights

How many lights can Unity have at any one time?

Hi

I have a multiplayer game and I want each person to have a light which will flash on command, affecting surrounding models. How many of these will Unity let me have working at once?

Comment
Add comment · Show 1
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 Sam_Pr · May 04, 2013 at 07:01 PM 0
Share

You should be fine, unless you have over 100 people playing, or are planning on making it a mobile game.

2 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by Eric5h5 · May 04, 2013 at 07:01 PM

There's no limit. The quality settings have an entry for limiting the number of pixel lights, which you can change to whatever.

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
0

Answer by BobbleHead · May 04, 2013 at 07:03 PM

Open ended question there mate.

Fundamentally I've found in my experiences that lights cost; but they're effectiveness is dependent on the machine that's running the game, i.e graphics cards etc. I've yet to encounter a limit with lights, if that answers your question?

I guess this would depend on how many people were in game at any time, and what kind of light you're using. Unity does have a lot of handy lighting tips, if you check the docs.

How many people are going to be in game at one time? If there is 16 players, and inturn 16 lights attached then I think you'll be okay. But the rest of the level would need to be heavily optimised. I would suggest making use of vertex lighting, probably bake the scene too where possible.

Flashing lights will require code, that could slow down your game dependent on how you're going about it.

Comment
Add comment · Show 1 · 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 Braveheart · May 04, 2013 at 07:07 PM 0
Share

There's going to be upwards of 100 players at any one time. There could be times where they would all be close by meaning at least 100 perhaps probably 200 lights (if each has two) flashing.

Would there be a better solution to this ins$$anonymous$$d of using lights? I'm ideally looking to have a car model with two head lights which create light beams, two grill lights and two or more lights on a light bar. So realistically each player could have a $$anonymous$$imum of 6 lights.

Is there a better solution for this than using actual lights then?

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

15 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

Related Questions

Unity networking tutorial? 6 Answers

Rpc Can't be called on client - Problem with client, works on server 1 Answer

Networking server authoritative player input 0 Answers

Multiplayer board game direction 0 Answers

OnDeserialize is not being called on by client. 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