I have added
q3map_lightmapsamplesize 4
q3map_lightmapsize 256 256
lines to a shader. q3map succesfully created the shaders automatically with the exception that i had manually entered the “tcgen lightmap” line to them because q3map forgot them.
When i entered the game, lightmaps are rendered correctly on some surfaces but on some of the surfaces, there are black boxes and hard edges which makes me think that q3map might do some error when generating lightmap texture coordinates when
q3map_lightmapsamplesize 4
q3map_lightmapsize 256 256
used.
I am using q3map_2.5.4