Re: Walls in endor space stage reactor chase not rendered ri
as long as the relevant jtag code is not patched out, the engine should render correctly
The official Supermodel forum.
http://192.168.0.100/Forum/
Index: Src/Graphics/New3D/New3D.cpp
===================================================================
--- Src/Graphics/New3D/New3D.cpp (wersja 873)
+++ Src/Graphics/New3D/New3D.cpp (kopia robocza)
@@ -33,6 +33,9 @@
m_numPolyVerts = 4;
m_primType = GL_LINES_ADJACENCY;
}
+
+ // Fall-back mechanism for games with patched (not working) JTAG
+ if (m_gameName == "swtrilgy") m_shadeIsSigned = false;
}
CNew3D::~CNew3D()
@@ -1666,6 +1669,8 @@
void CNew3D::SetSignedShade(bool enable)
{
+ if (m_gameName == "swtrilgy") return; // jtag has been patched out in star wars - todo fix this
+
m_shadeIsSigned = enable;
}
if (m_gameName == "swtrilgy" || m_gameName == "swtrilgya")