• 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
2
Question by VinnieH01 · Jun 19, 2017 at 06:24 PM · lightingshadowsdirectional lighthard shadows

Hard directional shadows?

I want hard directional shadows but when I set the shadows to hard they look like this alt text This is not what I want, I dont want any antialiasing at all. For refrence this is what hard shadows from a point light looks like (thats what I want, how do I get it?) alt text

hard.jpg (126.1 kB)
pointhard.jpg (90.2 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

3 Replies

· Add your reply
  • Sort: 
avatar image
1

Answer by · Jun 19, 2017 at 07:20 PM

The problem is the shadow resolution you are using. Change it to very high on light inspector or the quality settings and you should achieve the result you need.

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 VinnieH01 · Jun 19, 2017 at 07:34 PM 0
Share

The resolution is already set to very high

avatar image
1

Answer by Antoniusaft · Oct 23, 2018 at 11:17 AM

I had the same problem. The settings I changed to get a good result was in Quality Settings:

Shadow Projection: Close Fit Shadow Cascades: No Cascades

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
avatar image
-1

Answer by Orami · Jun 19, 2017 at 06:28 PM

My understanding is light is additive if you have a directional light with high intensity you will not see other point lights. Try decreasing the strength of the light that is over powering the others. A directional light always gives hard angles because it is not defined as a point you are only defining an angle for light to be cast. A point light you can move around and it has drop off whereas a directional light does not. You should read the documentation before you post. You do not get smooth shadows with a directional light - use point lights for that. Just like if you take a lighter outside on a bright day you won't really notice the light that it gives off.

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 VinnieH01 · Jun 19, 2017 at 06:30 PM 1
Share

Did you read my question?

avatar image Orami · Jun 19, 2017 at 06:44 PM -2
Share

Did you not read my answer? Change the intensity you daft kid.

avatar image VinnieH01 · Jun 19, 2017 at 07:05 PM 1
Share

You obviously did not read my question. And may I ask why you downvoted it?

avatar image Orami VinnieH01 · Jun 19, 2017 at 09:19 PM -1
Share

Because your question is not clear. You didn't seem to read ANY documentation before posting here. Ins$$anonymous$$d of trying to clarify you just complain and cry like we are at your mercy. A point light and a directional light do not function the same. They are inherently different go READ the documentation that I linked up on my answer so you can understand the differences.

avatar image VinnieH01 Orami · Jun 19, 2017 at 09:25 PM 2
Share
  1. When did I complain?

  2. When did I cry?

  3. I'm asking how to get hard aliased shadows using a directional light, how was I unclear?

Oh and you actually didnt link any documentation. I know a point and directional light function diffrenty but that has nothing to do with shadows being aliased or not does it? Its not like its impossible to turn off antialiasing on directinal light shadows "because they work a diffrent way".

You are just butthurt because I said "Did you read my question?" and downvoted your answer

Show more comments
avatar image VinnieH01 · Jun 19, 2017 at 07:48 PM 0
Share

What you are saying has nothing to do with what I asked

avatar image VinnieH01 · Jun 19, 2017 at 11:02 PM 1
Share
Thank you @Whiteleaf

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

83 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 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 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

Point lights are killing my directional light's cast shadows. 1 Answer

Huge unknown shadow in scene [android] 1 Answer

Shadows much darker in build than in editor. 2 Answers

Directional Light creates wierd shadow? 2 Answers

Close Fit, no Cascades directional shadow issue. 1 Answer

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