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 /
  • Help Room /
avatar image
0
Question by Rickywild · Feb 04, 2017 at 07:02 AM · lightinglightslayermaskdirectional lighthalo

Halo Drawing In Front of Everything

In Unity 5.3.5f1 (64-bit) I would have my directional lights have draw halo checked, as this gave a desired glow effect to my sun & moon objects. Since I've updated to Unity 5.5.0f3 (64-bit) I see the halo has some undesired effects.

Looking into it I noticed the lights z position now matters. So when my sun/moon object rises and sets, you can see the halo over lapping objects that are in front of itself. See below example

It seems like the halo wants to draw in front of everything and anything. Is this a bug or is there a way to prevent this behavior? alt text alt text

halo-example.png (355.8 kB)
1.png (358.4 kB)
Comment
Add comment · Show 2
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 Rickywild · Feb 05, 2017 at 07:51 PM 0
Share

Seems to be an on going bug that hasn't been addressed link text

avatar image Rickywild · Mar 24, 2017 at 06:22 PM 0
Share

Closing in on 2 month now. No response from Unity. Anyone found a decent work around?

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by Rickywild · Feb 04, 2017 at 01:44 PM

So far I've worked around this by enabling and disabling the halo when the sun/moon obj is high enough,so that the halo doesn't overlap objects that are in front.

     private void SetHalo(bool turnOn)
     {
 
         Component halo = _haloObj.GetComponent("Halo");
 
         if(turnOn)
         {
             halo.GetType().GetProperty("enabled").SetValue(halo, true, null);
         }
         else
         {
             halo.GetType().GetProperty("enabled").SetValue(halo, false, null);
         }
 
     }

It's not ideal, nobody here really know nothing about keeping the halo from drawing on top of objects in front of itself?

Reverting back to Unity 5.3.5f1 (64-bit) fixes the bug

EDIT

Has anybody tried & tested this? Or has anyone else run into this problem? It's been over a month now and really don't want to revert back to older build of Unity

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

101 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 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

lighting don't work when I go to next scene 0 Answers

Why does the light disappear when compiling into WebGL? 0 Answers

ProBuilder - Light leaking through seams on internal scenes 1 Answer

unable to make a black scene 0 Answers

Directional light scene is too dark 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