From a1d4e50e981ec696cf7420638c70e5e05bb32f31 Mon Sep 17 00:00:00 2001 From: Wojtek Figat Date: Sun, 21 Feb 2021 16:49:30 +0100 Subject: [PATCH] Fix --- Content/Editor/MaterialTemplates/Surface.shader | 2 -- 1 file changed, 2 deletions(-) diff --git a/Content/Editor/MaterialTemplates/Surface.shader b/Content/Editor/MaterialTemplates/Surface.shader index e23518040..fe9223dce 100644 --- a/Content/Editor/MaterialTemplates/Surface.shader +++ b/Content/Editor/MaterialTemplates/Surface.shader @@ -142,9 +142,7 @@ GeometryData InterpolateGeometry(GeometryData p0, float w0, GeometryData p1, flo { GeometryData output = (GeometryData)0; output.TexCoord = p0.TexCoord * w0 + p1.TexCoord * w1 + p2.TexCoord * w2; -#if USE_LIGHTMAP output.LightmapUV = p0.LightmapUV * w0 + p1.LightmapUV * w1 + p2.LightmapUV * w2; -#endif #if USE_VERTEX_COLOR output.VertexColor = p0.VertexColor * w0 + p1.VertexColor * w1 + p2.VertexColor * w2; #endif