- Home /
Other
Blotchy lightmap rendering (Unity Free)
I'm currently trying to bake some lightmaps for an AR app to android, though i've run into a problem.
Whenever i do renders with the lightmap the renders come out looking like this: ![alt text][1]
And this is on high quality. I have no idea what i'm doing wrong as it looked fine the first few times i did the renders, then out of the blue it began looking like this.
I'm kinda frustrated, and i hope you can help me out :)
Thank you in advance [1]: http://i.imgur.com/mxNxk.png
what is the texel resolution? also re$$anonymous$$d me, does unity free support shadows in lightmaps? if so u may need to chect the shadow settings
Texel resolution is 50, and no, unity free doesnt support Shadows, but i assume its not the same since the first few bakes were fine and high quality.
That could of course be some trial stuff.
try raising the resolution to 100 and also can u post a screen shot of the options available to you, lastly how many objects are being lightmapped, is it all objects that do this or only one or a few?
http://i.imgur.com/uh$$anonymous$$l$$anonymous$$png
Here are the settings, while using a resolution of 100.
Its the entire scene thats being baked.
Answer by sharpshot124 · Jan 04, 2013 at 01:21 PM
ah i believe i know the issue, either try switching to single maps or use deferred rendering on your camera (although i think deferred rendering may be a pro only feature) and see if that fixes the issue
either that or u can check the use in forward rendering and write shaders to make them work with forward rendering
ok, it should at least improve the performance for later down the road, especially since its a mobile app. my last idea is the AO, just for touble shooting try turning the AO off completely and see if it still happens
Answer by MrTea · Jan 04, 2013 at 08:30 PM
There is a check box on the 'maps' tab in the lightmapping window for compressing the lightmapped image - this is ticked by default and looks to be over compressing the image. Try un-checking the 'Compressed' option - this should solve your issue (although this will result in a larger image file size).
Follow this Question
Related Questions
Save custom lightmapScaleOffset in renderer 0 Answers
What causes this? 1 Answer
Bright white spots after baking lights 2 Answers
Why would my baked lights only render for a few seconds? 0 Answers