Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 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 DuvE · Jul 08, 2017 at 10:16 AM · lightingglobal illuminationbaked light

Mixed Point Lights bug

Hi, there is a very weird behavior of Mixed points lights in my scene. I have only 6 mixed point lights and they are all identical. Lighting mode set to Shadowmask. And after baking lightmaps some of these point light behave like normal (realtime direct and baked indirect), but some of light behaving like baked. They do not emit realtime direct light at all.

When I change a position of these bugged lights and bake them again, sometimes they starting to behave like normal Mixed lights. I have no idea why they acting like this.

I'm using Unity 5.6.0f3

Here is a quick video of a problem:

https://www.youtube.com/watch?v=9gHgKlI62Hk

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

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by FlaSh-G · Jul 08, 2017 at 11:23 AM

There is no limit for the amount of baked lights in your scene. However, there is a limit for realtime pixel lights per object in Forward Rendering. You can see this limit in "Project Settings/Quality". It's labelled "Pixel Light Count". You can, of course, increase this value to 6, but be warned that there is a reason this value is so low. In Forward Rendering, more pixel lights cost extremely high performance.

There's two other ways of dealing with this. The first would be to do the level designer's dirty work and somehow setup the scene to work fine with a four light limit. The tools you have for this are:

  • Set less important lights to baked only, thus removing them from the list of realtime pixel lights.

  • Alternatively, set the surface shader of the objects in question to a vertex lit shader. This might significantly reduce lighting quality depending on the situation and the used mesh: alt text

  • And finally: Simply set the lights' "Render Mode" to "Not Important" or "Important" in a logical way. This way, you basically have the same problem as before, but you have control over which of the lights will "fail".

The second solution is to switch from Forward Rendering to Deferred Rendering in "Project Settings/Graphics". Deferred Rendering is more performance heavy than Forward Rendering by default, but scales up infinitely better in terms of pixel light count. So by enabling Deferred Rendering, you set the minimum requirements for your game higher, but you gain room for almost limitless pixel lights.

Comment
Add comment · Show 4 · 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 DuvE · Jul 08, 2017 at 11:49 AM 0
Share

Thx for the answer, but this project already have Deferred Rendering. I also tried to switch all light to "Important". None of this helped.

avatar image FlaSh-G DuvE · Jul 08, 2017 at 11:50 AM 0
Share

For the sake of context, I suppose you add this as a comment to my answer rather than an answer to your question :)

avatar image DuvE FlaSh-G · Jul 08, 2017 at 11:55 AM 0
Share

Yes, I did it a little bit wrong =)

Show more comments

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

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

Related Questions

why is my baking GI get stuck at 7/11? Unity 5.50b7 1 Answer

Light leaking on baked lighting 1 Answer

Unity 5 baked GI weird result 2 Answers

Disable Lightmap when baked lights turn off 0 Answers

Unable to bake all lights in the scene 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