- Home /
Shadows and lightmap
Hello,
I have a scene at night which has a floor and a lightmap for it and a dynamic object which should move on it and cast shadow. If I add another light the floor become to lighted. if i use layer/culling for not get any other light on it is stops receiving shadows.
Thank you and sorry for bad english
ps. I am using on floor legacyshader/lightmapped/specular and on my object bumpbed diffuse shader
Answer by Alayna · Aug 22, 2012 at 05:57 PM
Are you in Forward Rendering or Deffered, Directional Lightmap or Dual Lightmaps? if you are in Deferred Rendering with Directional Lightmaps no real-time shadows will be cast, but if you change it to Forward rendering the shadows will be cast. You could also use Dual Lightmaps with Deffered rendering to get shadows in realtime but it would make all realtime lighting in a radius around your character which is expensive(there also would be no bump map after the far lightmap kicks in).
Your answer
![](https://koobas.hobune.stream/wayback/20220613080019im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Disable Lightmap when baked lights turn off 0 Answers
Gun goes black... 1 Answer
Best lightmapping wierd soft shadows 0 Answers
Random lightmap switching 0 Answers
Baked + Real-Time Shadows 6 Answers