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 /
This question was closed Jul 24, 2013 at 09:45 PM by clunk47 for the following reason:

Question was answered, correct answer was accepted.

avatar image
1
Question by smirlianos · Dec 10, 2012 at 07:29 PM · shadowbakinglightsmappingreal-time

Real time shadows problem, please help

I have the trial version of unity Pro, and it allows me to use realtime shadows. But when I apply it to the directional light, nothing happens in the level. Why is that?

thanks in advance!

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

  • Sort: 
avatar image
1
Best Answer

Answer by jRocket · Dec 11, 2012 at 09:14 PM

It could be the material you are using(not all materials support shadows), or it could be ambient light in the scene washing out the shadows. It could also be your Quality settings.

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 smirlianos · Dec 12, 2012 at 12:35 PM 0
Share

Yes, it was the quality settings! I'm so dumb!

avatar image clunk47 · Dec 12, 2012 at 05:14 PM 0
Share

Not dumb at all buddy. There are a lot of things to look at when you have an issue, and it's all part of the learning process! Thanks for the great answer John :D

avatar image
2

Answer by DaveA · Dec 11, 2012 at 02:11 AM

Make sure the light's Shadow Type is set, and also if you have very low poly objects it's not so great. Helps to have UV maps on your objects too and play with the import settings on them.

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 lil_billy · Dec 11, 2012 at 12:59 AM

its spotty. or your objects could be on the wrong layer. or your renderer isnt set to cast and recieve shadows the lights angle is just in one of those positions, there many possible things, id just presume to not rely on dynamic lighting to much

if there is a few real important object that you WANT to have shadows

i suggest trying a projector (not the most effecient road but does it beautifully) put that on the main character and significant enemies

if your processing budget is low and your art is simble you could just create a plain with a shadow texture on it and put it on the characters feet.

Comment
Add comment · Show 7 · 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 smirlianos · Dec 11, 2012 at 01:02 PM 0
Share

I actually don't use a terrain, this is a screenshot of the project. The floor is made from 1X1 boxes

http://postimage.org/image/mnddjieef/

avatar image smirlianos · Dec 11, 2012 at 01:45 PM 0
Share

Oh, an5 I checked everything, the objects ae in the default layer, and the can recieve shadows. I have put a projector to the player, but I want the enviroment to have beautifull realistic shadows, with real-time.

avatar image lil_billy · Dec 11, 2012 at 04:19 PM 0
Share

well ur character is casting a shadow, perhaps its because your directional light is a child of level objects, ive never seen anyone do that before so perhaps objects with the Dlights hierarchy are omitted from casting shadows.

also your character shadow is casting downward which tells me that your light is pointing downard, try it at a different angle like 45 degrees

ive noticed that the shadow engine doesnt work to well when the light is at 90 degree increments and if you think about it, its understandable why it would be to cast shadows at those increments.

avatar image smirlianos · Dec 11, 2012 at 04:29 PM 0
Share

The shadow of the player is a projector, is not from the directional light. The Dlight have an angle, something like 36o

avatar image lil_billy · Dec 11, 2012 at 04:31 PM 0
Share

hmmm did you unparent it as well

Show more comments

Follow this Question

Answers Answers and Comments

13 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

Related Questions

Realtime Shadow and baking? 0 Answers

Light pass under walls 0 Answers

Why are my baked shadows not matching up? 0 Answers

Objects selectively receive shadows 0 Answers

Baked shadows too dark 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