Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 14 Next capture
2021 2022 2023
2 captures
13 Jun 22 - 14 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 Nanako · Nov 13, 2014 at 02:08 AM · lightingfadespotlightfading

Is there any way to control how a spotlight fades out?

Hi all. Playing around with the stealth tutorial, i'm trying to add in a spotlight attached to the robot's faces, to show the player where they're looking, and the size of their vision cone.

See this image, and note the long fence in the middle-left of it:

alt text

The robot's vision range is 10 units, and so too is the range of the light. That fence is less than 10 units away, and it should, by all accounts, be bathed in a healthy green glow. But it's not lit up at all

My idea works very well for showing the angle of the vision area, but not for showing its distance. The player would be seen if they were infront of that fence just now.

I've tried increasing the distance parameter on the cone, but this has unsatisfactory results, like making it go a bit too far, as well as projecting way over obstacles and lighting up the outer walls of the scene too much

The problem is that the light seems to fade out over its range, so by the time maximum range is reached, it barely has any illumination at all. I guess what i'd like is for some way to control it, like with the curves on 3D audio fading.

Failing that, does anyone have an alternate idea for how i could accomplish what i'm trying to do ?

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 AlwaysSunny · Nov 13, 2014 at 03:31 AM 0
Share

Someone correct me if I'm mistaken, but I don't think attenuation/falloff of point/spot lights can be adjusted. The behavior you describe is normal.

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by Kantic · Mar 22, 2020 at 02:06 PM

Hi, it has been a super long time since you asked this questoin and I am having the same issue with a point light, I was wondering if after all these year you could share your solution to this problem? @Nanako

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

28 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

Related Questions

Leaves spotlight issue 0 Answers

Flickering circle of light around character 0 Answers

How can I change the SpotAngle's range in a SpotLight? 0 Answers

Spotlight lighting objects outside area light is being shown on 1 Answer

Dynamic spot light for mobile devices 0 Answers


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