Force LOD1 foliage to use LOD0 lightmaps?
Just came across this bug https://issues.unrealengine.com/issue/UE-32299 after UE4 told me that lightmaps may look incorrect on LOD1 foliage, after building lighting:
I have foliage in my project that uses the same lightmap UVs for LOD0 and LOD1, and the language in that editor message and in the bug report imply that LOD1 meshes will just use the LOD0 lightmaps, which would be perfect for me, but it seems like no lighting at all has been built for LOD1, and the meshes are black.
Is the wording "may be incorrect" just a formality, and it's actually impossible to have statically lit LOD1 meshes? Lightmap settings for LOD0 and LOD1 meshes are set up in the exact same way in my project, and the lightmap UVs cover the exact same space.
asked Jan 26 '17 at 02:35 PM in Rendering
It was always intended to share the lightmaps across LODs provided they have the same UV mapping, but 4.14 seems to have introduced a bug where we were no longer sharing.
This has just been fixed for 4,15 and it should work provided the lightmap UV mappings are the same for all LODs. The warning is still there (slightly re-worded). For 4.16 it should be able to detect if the UV mappings are completely overlapping and omit the warning if the UVs are correct.
answered Jan 30 '17 at 03:16 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here