I am trying to bake a low poly mesh but the generated lightmap doesn't give a similar resulst as my render: http://www.youfile.net/download.php?file=e673f55efe56bf401dd0d2cecf7a13a1 In general its very similar (specially the indirect lighting) but you can notice that there is a big difference in the surfaces lit directly by the directional light, why is that? how can i get similar results just like the other areas?
Maybe your lightmap clamps the range (black to white) to 0-1 and thus the hot spots doesnt match the light contribution as they apear in your real render. If the intensity of your directional light exceed 1.0 try to use HDR images as lightmap.
my directional light has an intensity of 1.
do you mean generating lightmaps from hdrs? what if i wanted in addition to that a directional light?
no, as your textureBakeSet.fileFormat try hdr
Great, it worked.
In the render it looked the same but not in viewport normal mode neither high qiality mode so i had to turn on viewport 2.0 and it was pretty close to the render view (in turms of luminosity and not aliasing):
now i need to have the effect in Unity 3d game engine, is it possible to have that effect with an 8 bit (per channel) lightmap?
becaue whenever i turn my 32 bit hdr lightmap to an 8 bit targa image (in PS), the lightmap becomes washy, is there a way to keep the original render fidelity but with a normal targa lightmap?
Well you can try to gammacorrect the image.
tried that,
the image still look flay
Well your never going to get the exact same feeling but it should help. (also boost exposure a bit)
All i want to do is have m lightmap be as close as possible to my original Maya render (in term of luminosity and not antialiasing witch is limited by resolution):
1-First in Maya, the closest result to the render was using a 32 bit lightmap (not exactly same luminosity but lets consider that it is acceptable and we want the same effect in Unity.
2-In Unity the 32 bit lightmap its not only different from my original Maya render but also different from the baked Maya viewport.
3-So how can i have it match as closely as possible my original render?
*all is shown in Gamma 2.2 space and using the legacy lightmapped shader in Unity.
w.ell, assuming the unity shader does no lighting at all, just showing textures as is. Then you could put the map on a squre plane, w surface shader and render that to 8 bit using the same renderer you originally used. That would make the maps same, sans how sampling/postprocessing is done in unity.
oh ps check that your not double correcting your images
no double gamma correction is done.
all lights are turned off in Unity (flat mode).

