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 SirMacJefferson · Jun 18, 2012 at 07:53 AM · lightinggraphicslight

Is there a way to make the intensity of a point light irrelevant to distance?

I'm trying to think of some interesting ways to light my game, and I thought of giving the player a point light that surrounds them, and only covers a certain distance. Everything outside of it will be difficult to see due to the absence of a directional light.

However, I don't like the way the light will show up more intense for objects that are closer to the light. I think it would look better if everything were lit with the same intensity regardless of its distance from the player (just for this light).

Is there a way to do this, and if so, how is it done?

Thanks!

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 Mizuho · Jun 18, 2012 at 08:28 AM 0
Share

Have a directional/spot light above them? So it lights some circle of area around them.

1 Reply

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

Answer by Fattie · Jun 18, 2012 at 09:50 AM

Good news - what you're describing is a Spot Light in Unity - and here's an example!

alt text

After fooling with a spotlight, I encourage you to read THIS unrelated amazing answer:

http://answers.unity3d.com/questions/267097/editor-programming-experts-regarding-layouts.html


itiscalledaspotlight.jpg (86.9 kB)
Comment
Add comment · Show 8 · 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 Mizuho · Jun 18, 2012 at 09:54 AM 0
Share

Fattie stole my answer (which I left in a comment)! Oh well xD.

avatar image Fattie · Jun 18, 2012 at 11:28 AM 0
Share

Sorry! :) $$anonymous$$y one has sarcasm and a photo, though ....

avatar image SirMacJefferson · Jun 18, 2012 at 08:01 PM 0
Share

Derp. Guess I was so mixed up with my various attempts at "solutions" and "alternates" that I forgot about rotation.

Before I start to point out how ridiculously you answered this question, let me just say thanks for the answer and the time you spent. I do appreciate it.

So here I go:

I'm glad you could take time away from your insanely adept program$$anonymous$$g life in order to answer my horrible, idiot question. Bravo, sir, bravo.

The most ironic thing about this is the fact that you act so high and mighty and make it sound like you have so many better things to do (like fix your epic, elite programmers' layout problem! gasp!), yet then you take the time to take a picture of a spot light, ins$$anonymous$$d of just telling me to put a spotlight above the character and rotate it along the X axis by 90 degrees.

Oh wait, that's not enough for a stupid idiot like...well, anyone but you, of course, since you are so high and mighty! So you then have to put a huge red arrow there pointing at it, probably also detaching your Inspector and floating it there as well (it's not always halfway covering your Scene view, right...?). Though I suppose it probably only took an expert like you about..what, 5 seconds to do this?

Yes, and you also have time to randomly rant in the comments of a question about the Unity Answers website about how older game developer veterans are disrespected on the web by strangers and that young people go through their life with a "loud soundtrack". Don't you think a super-elite such as yourself should just let the ... well, the nice and conventional people... answer questions in a timely manner so you can use your incredible talent on greater things?

I prefer $$anonymous$$izuho's comment. Smooth, easy comment with no sarcastic insults involved and heavy implication that he/she believes me to be a retard. Just says the solution and keeps his/her judgments to him/herself.

But anyway, thanks for gracing me with your answer and help, good sir.

avatar image Fattie · Jun 18, 2012 at 08:58 PM 0
Share

You have the wrong idea @GH$$anonymous$$P, I loved your question !!!!!!!!!!!!! Honest !

avatar image Fattie · Jun 18, 2012 at 09:04 PM 0
Share

I have changed it more, @GH$$anonymous$$P ! I am truly sorry if you thought I was being mean. I think sometimes it's easy to miss the smileys in email. Also, I talk too much so you may have the wrong idea. Cheers !! Anyone here will tell you I ask the worst, stupidest questions, since I can't read.

BTW I think you completely misunderstood my post about the young people, which you mentioned. I actually do think young people SHOULD disrespect old people.

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

6 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Weird environment lighting in HDRP 1 Answer

Playdead's Inside AO decal 1 Answer

How can I cast dynamic shadows from a light without rendering the light itself? 1 Answer

Unity face lighting face issue: Making lit faces darker and unlit faces brighter 0 Answers

Light sources disabling after bake. 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