Procedural mesh and baked lighting

theNewGfactor
Sat, 09 May 2020 03:01:06 +0000
Rendering

Hello, I’m generating a procedural mesh in the construction script of a blueprint. I have no problem generating the mesh but when I bake lighting the mesh is not affected at all. If I create a static mesh from the procedural mesh the default lightmap resolution is too small, but once I increase this value the static mesh version bakes just fine.

For testing purposes my procedural mesh is simply a one sided plane with 4 vertices, 2 triangles and a square UV set.

Is there a way to get procedural meshes to be baked with static lights? Or do they already do this and I’m doing something wrong?

4 posts - 1 participant