Questions about lightmap settings.
Lightmapping in UE4 isn't completely clear to me, so i hope someone can clear things up for me.
When i open up an asset (mesh), i get two resolution settings for lightmap ''Min lightmap res'' and ''lightmap'' res. what is the difference between the two and why are they set to 64? isn't 64 exrtemely low. I never change ''min lightmap res'' but only ''lightmap res'' and change it between 256 -1024 (depending on how big and important the asset is). am i doing this right or do i have to change ''min lightmap res'' aswell to get better quality?
Sometimes i also get blocky shadows on my walls, is this because a resolution of 1024 for a wall is too low? I see a lot of people using 128 to 256 resolutions for scenes and getting really great bakes, how does this happen with such a low resolution and does this have to do with the lightmass settings within the world settings tab and not with the resolution?
And what setting does the ''override lightmap res'' actually override, is it the min lightmap res or the other. it's so confusing to me.
I hope these questions are clear enough to be answered. any help would appreciated.
asked Jan 24 '17 at 12:59 PM in Rendering
When you let ue4 re-create or auto generate the lightmaps, it will look at the minimum lightmap size and add spacing between UV-clusters/islands and edges of the 0-1 space according to it. So if your minimum is "64" but your regular lightmap resolution ends up being "512" it will mean that there will be (at least) 8 pixels of wasted space between your uv-clusters/islands and the edges of the 0-1 space.
This is why --when auto generated/restructuring existing lightmap uv's-- its important to set the minimum lightmap resolution properly.
the way your uv-map is laid out, how stretched/warped your uv-island/cluster is, the lighting/shadow/compression/settings all are influencing the quality of your lightmaps.
The override lightmap res. overrides the regular lightmap resolution, and not the min. lightmap res. one.
answered Jan 24 '17 at 01:29 PM
the "min lightmap resolution" is under "build settings", it's used in case you wan't to generate a new UV map to your mesh (it's usually used in case your UV overlaps, so you will need another UV for the lightmap), unless you generate a new lightmap it will have no effect, the lightmap resolution is the the actual resolution, is 64 extremely slow? it deppends on the size of your mesh and in it's kinda personal too, if you notice there are some "shadowed squares" on your mesh it maybe caused by low lightmap resolution, also the bigger the resolution, more memory it will take. i use resolution of 16 for some meshes, and it's okay. about the override lightmap resolution it will override the lightmap resolution (not the min) for that specific instance of the mesh in scene, in case you need a better looking lighting for that specific area in the scene.
Follow this question
Once you sign in you will be able to subscribe for any updates here