Unity 5.6 - no specularity in mixed mode

Hello,

I would like to have baked lights with specular reflection. That’s why I use “mixed lighting” and “shadow mask”. But here comes the problem. When I use some lights that are close together, one or a few become baked without specularity. Is this some kind of a bug? Did I missed something? Screens below.

Here you can see that blue has not specular reflection. Range of all lights is set to 5:

When the range is set to a low value, all the lights have specular reflection. Range of all lights is set to 2:

The lights have default settings. Only color, range and shadow type (soft shadows) are changed. Tested on Unity 5.6.0f3, 5.6.1f1. The problem occurs on both version.


I made another test. If shadow type is set to no shadow, specularity will work on all lights, even if range is set to a very high value. This doesn`t solve my problem, because I need shadows too :slight_smile:

Bump.

Bump

@zerocold64 I found the answer in the Unity’s documentation :slight_smile: You can bake up to 4 overlapping lights. If you bake more than 4 overlapping lights, any additional lights fall back to baked lighting (with no specularity). You can read more here: Unity - Manual: Lighting Mode: Shadowmask

1 Like