Lumen surface cache & doorway shapes

After doing a bit of testing, it appears there’s currently no practical way to get Lumen to generate surface cache mesh cards on the inside of small meshes with topological holes, such as doorways or window frames. Increasing the max number of mesh cards in the mesh’s build settings does not solve this.

surfacecacheproblem

What’s interesting is importing the mesh at a much larger size (scaling 10x and making the frame 100cm thick instead of 10cm, for example) does result in the missing cards being generated successfully. Would it be possible to change the minimum distance threshold for mesh card generation in the future? Needing to make meshes the wrong scale for the surface cache to generate isn’t an ideal fix, and this seems to be purely a build issue/limitation.

2 Likes

You could break it up into 3 pieces and assemble it in a blueprint to get it to behave like a single actor.

1 Like

From an organizational, performance, and asset creation standpoint, this is a pretty bad solution. Even importing your assets at the wrong scale would be better than having to split them up into multiple mesh components, especially when such splitting is completely needless (Lumen is able to generate those cards, it simply doesn’t have the build settings for it.)

Sure, it works for one doorframe, but it’s not scalable to a whole project.

this is a pretty bad solution

I don’t disagree. The ideal solution, and the one I have been using, is to just ignore it.

Full surface cache coverage is not practical. I agree that this should really be our choice to make (especially since not all projects need realtime performance) but some coverage loss is still not likely to produce any meaningful impact on the final scene.

Try this

1 Like