• 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 /
This post has been wikified, any user with enough reputation can edit it.
avatar image
0
Question by Armando Seketh · Nov 07, 2014 at 04:13 PM · shadows

Directional Light Shadows Not Working.

Hello, I'm kind of new using Unity and I started with the basic tutorials, and in one part I have to use a directional light to cast the shadow of a sphere on a plane, the problem I'm facing is that I can't seem to cast the shadow, all my configurations are the same as on the video.

I have the directional light in the same angle, It's centered and also I set the light to cast a soft shadow with maximum quality, also the rendering is set to important. The problem is not only with soft shadows, it's with hard shadows as well. Could anybody help me with this? I doubt my computer can't render them or anything, I'm working on a MSI GE70 Apache Pro 2, with an i7 - 4700HQ processor, 12 GB of RAM and my GPU/Graphics Card is a NVIDIA GeForce GTX 880M 2 Gb.

I've also seen that there is another post of somebody that has the same problem and hasn't been able to get a proper awnser to his problem.

P.D: I'm using Unity 4.5.5 Pro.

Any help is very welcome.

Comment
Add comment · Show 2
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 Armando Seketh · Nov 07, 2014 at 04:12 PM 0
Share

$$anonymous$$y problem is the same as his: http://answers.unity3d.com/questions/741678/directional-light-shadows-not-working-1.html

avatar image MrSoad · Nov 07, 2014 at 04:32 PM 0
Share

Have you increased you shadow strength to max in your light settings to make sure they are not being washed out to the point where you cannot see them?

3 Replies

· Add your reply
  • Sort: 
avatar image
4

Answer by AxeSlash · Apr 15, 2015 at 06:23 PM

I know this question is old, but check the Shadow Distance in edit -> Project Settings -> Quality. I couldn't understand what was wrong until I realised that my game's scale was way bigger than the default value in that.

Comment
Add comment · Show 2 · 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 iamamey24 · Oct 01, 2017 at 10:30 AM 0
Share

Please give any other solution. It didn't work in $$anonymous$$e.

avatar image Pyrian · Dec 06, 2017 at 07:37 AM 0
Share

Helped me out. I couldn't figure out why all my shadows disappeared, turned out it was just that I had moved the camera back too far. Ooops! Thanks.

avatar image
0

Answer by NadhmiPrince · Nov 07, 2014 at 06:34 PM

Hi,

What makes you unable to see the shadows in your game is "Your main camera isn't able to detect shadows" To fix that, select the camera in the Hierarchy then in the Inspector in the "Camera" component change Rendering Path to anything else;

Comment
Add comment · Show 1 · 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 MrSoad · Nov 07, 2014 at 06:43 PM 0
Share

Not sure about this, shadows show with the camera on forward rendering(the default setting) and on deferred...

avatar image
0

Answer by HarutL · Oct 11, 2018 at 10:21 AM

Also check if your shaders are supporting shadows, in my case I was using Legacy shaders->Diffuse fast, and i changed it to LegacyShaders->Diffuse, and it worked.

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.

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Follow this Question

Answers Answers and Comments

8 People are following this question.

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

Related Questions

How to solve Peter Panning (shadow offset) problem? 1 Answer

Optimize Shadows for Moving Light 0 Answers

Shadows not working 0 Answers

Lightmapped terrain no shadow from dynamic objects 0 Answers

Change Mesh Renderer size property? 2 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