- Home /
How can I bake shadows onto terrain from directional light?
I'm using deferred rendering, and want to bake my shadows onto the terrain. The problem is the shadows only show up if I have realtime shadows set on.
I have trees in the scene and I want their shadows to be baked onto the terrain. For example, in a normal bake if I did this, then moved the directional light, the shadows would dissapear, because they are baked, not real time.
How do you bake a directional lights shadows without using realtime shadows? Realtime shadows are causing a big artifacting problem on big terrain so I want to just bake without realtime.
Answer by velipekka · Jan 07, 2013 at 01:44 PM
You can set the lightmapping mode for the light component manually: That way you can separate the dynamic lights, and those that are used only for baking.
Also, remember to check Lightmapping windows Object tab for more advanced control. If you are trying to get soft shadows for trees, remember to set shadow sampler and shadow angle values.
I hope this helps.
Your answer
Follow this Question
Related Questions
U3: Beast Lightmapping + Nature / Soft Occlusion Shader 1 Answer
Beast Lightmapping is not working just when he wishes :)) every time im getting errors 5 Answers
Lightmap is baking non-static, realtime lights?! 2 Answers
Lightmapping, Beast, mental ray, vray, baking : what all these stuff mean ? 2 Answers