-
Notifications
You must be signed in to change notification settings - Fork 176
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Halo with ocean background #12
Comments
The fast and dirty way around this it to change the RenderQueue setting of your ocean to 2500 or lower. This might have some adverse effects. I don't know the code well enough right now to say for sure. Better still might be accessing the renderQueue property of the halo or the light it's attached to. If that's possible I'm not sure how it can be done. Halo is a Behaviour as opposed to a Component, which makes it strange to start with. You can start the process with "Behaviour halo = (Behaviour) GetComponent ("Halo");" however "halo.GetComponent ()" will fail every time. Either there isn't one or it's not accessible that way. Changing the renderQueue of a halo (or light?) might be a good question for the Unity forums if a deep search doesn't turn up an answer. |
Great suggestion |
Happy I could help! Interesting that you had to lower your RenderQueue setting more than I did. Tempting to wonder where that difference lies, but since you've got your result without side effects, I wont. |
I am trying to create halo to my lights but they are not rendered when the background is the ocean.
Is there something that I can do?
The text was updated successfully, but these errors were encountered: