I create a model (LOD0, LOD1, LOD2, 128x128px lightmaps for each). When i place it on scene i.e. 50 pcs, LODs and lightmaps works perfectly.
When i create ISM from this 50 meshes, individual LODs switching perfectly, but lightmapping is broken. When i turn on “Lightmap Density“, density on resulting Actor is very low.
So i set Lightmap res in ISM component as in origin mesh 128px
Nothing changed (broken lightmaps)
I tried to increase resolution to 1024 - nothing changed, broken lightmaps.
So ISM supports individual LODs, and NOT supports individual lightmaps? Is there any way to fix it?
iirc i did this ism thing in 4.26. i think this scenario is discouraged in 5.X. you would have to bake unique lightmaps for each instance, which generates a lot of data if you have loads of them. this is very inefficient.
currently both normal and gpu lightmass only produce an approximate ambient term, kinda like an ambient cube, for each instance. that’s all you get.
you can use that tho. basicly you gotta bake occlusion into the mesh, i.e. vertex color channel or dedicated ao textures. that gives you an approximate gi. which is an ambient light direction term modulated by ao.