diff --git a/project/code/TMV/Mission.cs b/project/code/TMV/Mission.cs index a00468a..37817c8 100644 --- a/project/code/TMV/Mission.cs +++ b/project/code/TMV/Mission.cs @@ -508,6 +508,11 @@ public partial class Mission : Node3D }); } + for (var i = 0; i < lmLayerCount; i++) + { + lmImages[i].GenerateMipmaps(); + } + var lightmapTexture = new Texture2DArray(); lightmapTexture.CreateFromImages(lmImages); return lightmapTexture;