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 Kaeros · Aug 19, 2014 at 04:24 AM · lightinglightslighting bug

Multiple lights problem on a single sprite.

I am currently working on a little project using some sample assets just to keep training. It is a 2D project. I have a little scene with some platforms and some lights. I wanted this place to be quite dark, and have some areas with lights. Basically , I have a little corridor place where I want to add in some lights. It looks just like this right now in the scene view. Two lights on some sprites

This is what I want my corridor to look like. My character also has a radius around him that helps the player seeing around even though he is in complete darkness. Now this is what happens when i play the game and get close to this corridor.

But when I get my players's light Radius inside the red light's radius...

In-game result

This happens.

If I could use more attachments I would be able to show it in more details.

I don't understand why this happens. But if you do I would gladly accept any information about this issue I'm having right now. Also, these lights are actually all point lights with a radius to light up a certain area on the sprites.

I am willing to send more pictures to help you understand the situation, but it won't let me add more than 2 attachments.

I think that when the red light comes in contact with the light surrounding the character, it suddenly lights up the whole sprite that is used for those platforms, but I don't know what I can do about this.

Also, if anyone knows a way to easily use lights in a 2D environment I would gladly like to read about it. Thank you in advance.

PS: This problem only happens when there is more than 1 red light on the same sprites.

doublelights123.jpg (171.4 kB)
doublelights.jpg (52.9 kB)
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 Kaeros · Aug 19, 2014 at 06:27 PM 0
Share

Sorry , after I posted my question and saw it was waiting for approval I accidentally closed my browser. And when I came back,I went to look at my profile to see if it has been approved, but It told me I only had 1 question which wasnt this one, so I posted again to make sure it didnt get lost in the process.

1 Reply

· Add your reply
  • Sort: 
avatar image
1
Best Answer

Answer by Kaeros · Aug 29, 2014 at 12:26 PM

I figured it out myself, All I had to do was to change the render mode of my lights from "Auto" to "Important".

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

3 People are following this question.

avatar image avatar image avatar image

Related Questions

Why do 2D Lights render past shadowcasters. 1 Answer

Light pass under walls 0 Answers

Light is too dark on 3D models 3 Answers

The light is not blending 0 Answers

Problem with lighting an object. 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