Our lightmap textures become darker when swapping from PC to Android.
Not using Precomputed Realtime GI. Only using Baked GI. Ambient Occlusion enabled. No lights in the scene. Ambient color light gray. (85% rgb). Our goal is to bake ambient occlusion.
The bake looks fine on PC, but when we swap to Android the lightmap textures become darker (Even if we re-bake the scene). Looks completely different.
I’ve seen this in a few build around the 5.5 releases, but it was quickly fixed.
Since then I haven’t seen it happen again and I’m building for android pretty regularly these days.
Have any of you made a repro scene? Submit a bug report with it and it could also be a good idea to post it here so we can see if it has anything to do with your specific computers or android devices, or something.
May be u know what is wrong with baking lightmap for android. I have read somewhere that lightmaps when used on android work as 2x LDR (converted from editor lightmap which is RGBM) so it losses its hdr information and looks dark.
See my projects screens here
May be u can guide me as u r building for android regularly.
Hope its not too late to reply,
I just found that android doesn’t support the baked lightmap in linear space and it fall backs to sRBG or LDR (not sure what it was called). So what I did was simply changed the color space back to gamma and pumped the ambient light very high to get a similar look. Its not the exact same but its almost same.
I can confirm that switching to gamma solved my problem too. It’s a bit weird, as LWRP supported Linear color space well enough until I updated to Unity 2019.1.0b7 yesterday, so my specific scenarion might just be a temporary, unlucky combination of 2019.1 beta and LWRP 5.6.1 (and even LWRP 5.10.0) package…
But since I want to support a bit older devices too, if I can pull it off, I guess I’m better off with gamma color space anway.
Seems like there’s no ambient light in the second screenshot. What is your lighting setup? Could you please post a screenshot of your Lighting Settings?