I’m making an iOS game and noticed that there is a big difference between lightmaps on PC and MAC. Here is the same project screens on Pc :
And MAC :
On PC lightmaps create brighter result, and I would like to achieve it on MAC. On PC version you can see high contrast directional light beams on the wall.
What could be the reason why there is no contrast on MAC and increasing intensity of Directional light just makes everything brighter?
P.S. And what’s more interesting, this is baked on MAC and then the same project opened on PC, but PC shows definitetly better result.
I don’t see the use of this posting if you post in iOS Development and talk about mac and pc.
was mac meant to be ‘iOS target’? If so then you have to realize that its no desktop and that the HDR aspect of the EXR lightmaps is lost for mobile so if you want to overbright something this insanely you have to really do that already in the lightmap calculation (within the regular float range, not just due to the 128bit precision on desktop platforms) which you can ensure by calculating the lightmap on the iOS project in the right exposure - the calcs will not be crossplatform beside ‘more or less the same on android too’ but thats to expect
I found that the order of the setTexture calls actually effected the way the resulting texture looked on a device. So the same shader would look highly contrasted on the desktop, but then really washed out on iOS. Also the ‘double’, ‘QUAD’ and ‘alpha’ tags seem to come out different on iOS sometimes.
Unfortunately I don’t have a solution to this, and I don’t even really remember what did what and how it changed on iOS. All I remember is that the order of those settexture calls and their following double, quad or alpha flags resulted in a shader where the lightmapping would look different on different devices.
yes unity makes use of the 128bit dynamics in the lightmap when generating the compressed version, the realtime used lightmap. the delta you see there is basically exactly what happens if you scale the exr back to 32bit for example png first, you lose the whole dynamic ‘over darkening - over brightening’ it will look dull.