- Home /
Question relating to incorrect shadows when using directional lightmaps
When using directional lightmaps with specularity in the original shader, the shadows appear strange from many angles. I think this is because there is specularity visible in the shadows, and there shouldn't be. As you can see from the image attached, when specularity is turned off the lightmap looks great, but when it is on, the shadows appear very strange indeed.
This happens even with only one light, and I'm using directional lights.
Are my settings wrong, or is there a way to disable specularity just in the shadows of the lightmap? Or is this just a necessary evil of directional lightmaps in Unity? Thanks in advance.
Answer by hvilela · Sep 25, 2012 at 03:57 PM
Normals are lost when you bake a scene, that issue will be address by Unity 4.
Take a look on the "Normal maps considered when light mapping" topic in this post
Thanks for the reply. I don't really understand the paragraph in the post you've linked to; as far as I can see, normal maps already work fine with directional lightmaps don't they? The normal maps are working fine here, anyway, and the problem isn't resolved when I get rid of them.
Are you referring to the model's inherent normals?
Your answer
![](https://koobas.hobune.stream/wayback/20220613081452im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Imported models lightmap problem 0 Answers
Directional Specular problem 1 Answer
Lightmapping differences between Win/MAC and Linux? 0 Answers
Shadows look bad or not show at all 0 Answers