Hi to all,
I’m a beginner user of Unity3D. I want realize an animation that simulates the stream of a day. I’ve found some script that do this at http://www.unifycommunity.com/wiki/index.php?title=Simple_planetary_orbits.
My problem is that though the directional light changes its position the shadows, that I see projected on terrain, don’t change. Also when the sun is under the terrain all is illuminated and shadows don’t change.
I’ve tried to set hard shadows but without results…
Thanks a lot.
Alabasta.
Probably, I’m not been clear. Can I upload the project? Where?
the shadows won’t change unless you own pro as lightmaps don’t change their look no matter how much the light moves, only realtime shadows change over time.
for day night cycle, you best don’t generate lightmaps for terrains at all and leave it to the surface normal based shading only