From f355e2d06282fbee2a5959cf0d1f6ba44977a8b4 Mon Sep 17 00:00:00 2001 From: Ian Curtis Date: Thu, 15 Dec 2016 00:45:32 +0000 Subject: [PATCH] fix microtexture colours --- Src/Graphics/New3D/New3D.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/Src/Graphics/New3D/New3D.cpp b/Src/Graphics/New3D/New3D.cpp index 948cebd..fcedb22 100644 --- a/Src/Graphics/New3D/New3D.cpp +++ b/Src/Graphics/New3D/New3D.cpp @@ -1088,12 +1088,6 @@ void CNew3D::CacheModel(Model *m, const UINT32 *data) } p.faceColour[3] = ph.Transparency() / 255.f; - - if (ph.MicroTexture()) { - p.faceColour[0] = 1.0f; - p.faceColour[1] = 1.0f; - p.faceColour[2] = 1.0f; - } // if we have flat shading, we can't re-use normals from shared vertices for (i = 0; i < p.number && !ph.SmoothShading(); i++) {