Customising lightmapped shadows

Hi all,

I’m experimenting with lightmaps at the moment to shadow my scene. I’ve gotten it to work however the shadow looks very soft and barely visible:

The global bake settings are set to high with resolution at 75. The mesh has “Generate lightmap UV” ticked. I’m using Unity free.

How can I make the shadow stronger and clearer?

Thats terrain isn’t it?
If so the answer would be “make it smaller” or raise the lightmap size, cause the lightmap spreads over quite some area for each chunk

EDIT: just saw its definitely a terrain

Good god that took a while to finish. I upped the texture all the way to 4096:

So it looks a little bit better but still doesn’t look quite right. The shadow doesn’t really take the shape of the mesh properly, it’s kinda just like blob on the ground. See the areas I circled with red, the shadow doesn’t even start at the foot of the fence (I drew the black stuff over it - that’s how it’s “supposed” to look)

btw, my terrain is 2000 * 2000

Are parts of the fence off the floor?

Your lightmaps resolution is too low, that’s all.
Change the SCALE IN LIGHTMAP to a higher value.
In example, 2 will double resolution.

Yes, on the terrain. Through the terrain even.

But it’s at 4096. It can’t go any higher. I suppose then I need to make the terrain smaller (And everything else in the scene as well)

if you make all smaller you are back to step 1, cause the shadow will again not be accurate.
the only way to get detailed shadows is realtime shadows as they are not bound to the terrain size like lightmaps.

that or you overlay the terrain with mesh parts that are just there as lightmap receiver

Hmmr right, but that’s going to be a huge nightmare to get right especially to match the texture with the rest of the terrain…

I guess I’ll just live with it for now, it’s not a must have feature for the game :slight_smile: