Per light shadow mask control

I’m having to bake mixed lights firstly in indirect mode, then bake in shadowmask mode, then combine the first indirect maps with the second shadow maps.
this is because i can’t have light auto set to baked when the 4 light limit is reached when doing shadowmask, so i remove any lights i want to only bake indirectly then add them back in

it would be nice if there was some option to choose which of the 4 lights should have baked shadow maps and chose whether the rest of the lights should be fully baked or baked indirect

so like instead of chosing:
Realtime, Mixed, Baked

you choose:
Realtime, BakedIndirect, BakedShadowmask, Baked

1 Like

HDRP allows you to specify the shadowmask mode on a per-light basis.

but that’s only for runtime, no? when i set the light to distance shadowmask, it still gets fully baked when going over the 4 light limit when i need it to be baked indirect

1 Like