I've been creating my lightmaps in Cheetah3d @ 1024 x 1024. I've been incorporating them in Unity using the legacy Lightmap shader set to diffuse. The overall quality of the lightmap is jagged, and on edges the highlights seem oversaturated to the point of glowing. Would bumping up to 2048 x 2048 help the resolution and can unity handle that size? Would a different setting for the lightmap in Unity be preferable? And does getting Pro make life easier than using the free version. Tune in next week.....
That's a fair number of questions in one go. Try to stay focused.
Unity imports textures using its own texture import and compression settings. You may want to check that your textures' max sizes are actually set to 1024 in Unity and that your compression settings are appropriate as this may help with your jaggies. Unity supports textures up to a resolution of 4096x4096. Additionally, you may or may not opt to set your textures to be imported as textures or lightmaps, but for all intents and purposes here, that should only change the compression settings and a few available options.
When you say you create your lightmaps in anything other than Unity, it is quite likely that this other application may use different settings or mapping methods for the lightmapping than Unity does. Please ensure that your settings are being correctly copied into Unity.
The legacy diffuse lighmap shader looks like this:
It multiplies your color and main texture to get a diffuse color. It takes this result and multiplies it by your lightmap to get the emission. I don't know what Cheetah 3D does with its lightmaps, but as it is conceivably different than the above, you may either have to adjust the lightmap (in an image editor maybe?) or adjust the shader Unity is using to more closely reflect the one in Cheetah 3D. Also, since this uses the secondary texture uv coordinates of your mesh, make sure that those are correct and that is what your lightmap is made for.
Do you have any lights in your Unity scene that might be hitting your lightmapped objects? If they are already lit by the lightmap, this does not preclude them from other lighting and that may be leading to oversaturation. To correct this, you will have to set your Unity lights to cull the lightmapped objects' layers or customize the shader to be exluded from lighting.
Pro can make life easier depending on what you are doing, but within the context of this question, it shouldn't have any real bearing. See here for what Pro offers.
answered Dec 09 '10 at 06:00 PM