• 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
1
Question by KiethFurry · Jun 07, 2016 at 05:05 PM · lighting3dspotlightflashlightfirstperson

Flashlight cuts off 180 degrees

Just trying to make a simple horror game character controller, using Unity's built in character controller and a directional light. So far everything works, except that the light gets cut off on the ground for 180 degrees on one side of the player. Thing is, the player has no renderer to cast a shadow, and the light still casts onto the trees.

alt text

alt text

Thank you for any help.

EDIT: I checked the light against a wall and the circle of light didn't change as I looked up the wall. The light still looked like a perfect circle from my point of view, while a real light would stretch along the surface that it casts onto. Not sure if the problems are related, but I thought I'd ask about this one while I'm here. I can't seem to find any answers anywhere else online, so I have to pose my own question. Help would be appreciated.

flashlighthalfon.jpg (367.2 kB)
flashlighton.jpg (322.6 kB)
Comment
Add comment
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

0 Replies

· Add your reply
  • Sort: 

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.

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Follow this Question

Answers Answers and Comments

5 People are following this question.

avatar image avatar image avatar image avatar image avatar image

Related Questions

Spotlight not lighting terrain? 6 Answers

My Draw Calls go from 30 to 125 and I have twice as much tris/verts when I enable a spotlight. Why?? 1 Answer

Realtime spotlight shadows constantly flicker 1 Answer

GameObject doesn't cast a shadow 2 Answers

Low shadow quality from distance light 2 Answers

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges