On Unity 4 we were getting consistent results when switching platforms, now we have to relight the scenes which is a super frustrating thing to do :-/
I’m guessing it has something to do with Gamma/Linear - as the lightmap looks almost the same on PC in linear mode as the Android Gamma version.
I know there were issues with the DX11 mode in Unity 4, but it’s not the case here. In both cases we’re running in DX9 mode.
I tried DX11 and it looks exactly the same.
Did anyone run into this, are there any workarounds, or am I missing something?
I saw your thread, but that was about inconsistency between realtime and baked light. I can live with that.
My problem is - when I switch the project from Android to PC my lightmaps get much brighter. The only solution I is to do lighting again and have separate branches for PC and Mobile - which is pretty tedious and not the “Unity way”.
Though I guess it could be the same bug. Overall the Lightmapping workflow in Unity 5 seems to be pretty messed up.
I posted the wrong threads, my bad. Someone else has a thread comparing baked lighting to linear baked lighting on pc. Most of us have come to the conclusion that baking the lighting will make it look as though it was baked in linear space. This is regardless of the platform and color space.
You are right, this does seem to be different, and your lightmap does indeed appear darker on Android.The differences on the scene you posted don’t appear to be stark though. Do you have another scene (perhaps with darker colors) that exhibit this problem? Looking at the lightmaps again, it does seem as though it is the same problem…the baked lighting on android appears closer to the linear lighting on pc.
EDIT: I noticed you have global fog on…which can be seen on the PC, but is this working on your Android build?.. I do not see it in the scene. I would be interested to see the PC Linear results with the fog turned off.
Now I’m not sure if this even exists in 5.x - but with Unity 4/Beast, lightmaps on high-end platforms were stored in a different format, with higher dynamic range - so very bright lighting was possible - whereas on mobile, you had ‘dLDR’ - ‘double low dynamic range’ - where the lightmap could multiply your diffuse texture by a range of 0-2 (so even a ridiculously bright light could never more than double the RGB values of the texture)
This does seem to be the case for mobile developers, wanting the simplest functionality to work well, and unable to use any of the shiny new stuff. And it’s scary that 4.x support is going to end soon, while 5.x lighting still seems like quite a big step backwards.
I think this would explain the results.
Unfortunately on PC in linear mode dynamic objects will look bad, which is understandable, because they were lit with gamma space in mind.
The fog you noticed also looks different. The settings are the same, it’s a subtle effect which is supposed to fake aerial perspective. This is how it looks like on PC without it in linear:
Pc linear no fog
It’s close to mobile but not the same. Shadows are brighter, so I’d rebake it anyway…
I’d have have a darker scene if we ported Star Horizon to Unity 5. It’s one of the reasons why we didn’t do it yet, though I guess we’ll have to face this problem soon, as we’d like to do an Apple TV port…