• 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 Gazcraft · Jun 04, 2015 at 02:42 PM · lightingshadowslightmappingbakingdirectional light

Baked lights with realtime directional causes black shadows

I'm trying to get to grips with Unity's lighting features. Ideally, I'd like to have point lights in a scene which are baked, but have the directional light be realtime, so I can still have realtime shadows in the scene. When I do this, any area with a realtime shadow becomes completely black.

I set up a test scene to try out various mixtures of lights. In the scene, the floor and the left cube are static, and the right cube is not static. The red point light is set to baked, the directional light is grey and realtime. The ambient colour is black and reflection is turned off. alt text

You can see the mapping from the red light is correct, but the shadow from the directional light is completely black, even in areas where the red light should be illuminating it.

I would hope that it would look something like this, in which I lowered the shadow strength.

alt text

Am I missing something obvious here? I don't feel like there's a lot of room for misinterpretation, so is a realtime directional light just not compatible with baked point lights?

Thanks in advance for any help or pointers!

mixed.png (68.5 kB)
lowstrength.png (77.7 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

3 People are following this question.

avatar image avatar image avatar image

Related Questions

What am i doing wrong with Lighting? 1 Answer

Lightmapping Problem 0 Answers

How Can I Make My Baked Lights Look Exactly like Still Dynamic Lights? 1 Answer

Getting strange square lighting artifacts, despite the room being well lit? 1 Answer

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

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