2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 09:47:43 +00:00

Fixes for extended shaders

This commit is contained in:
Jack Andersen
2016-07-30 18:46:03 -10:00
parent 95033d3988
commit 05a52c00be
6 changed files with 19 additions and 9 deletions

View File

@@ -584,6 +584,11 @@ void CBooRenderer::DrawSpaceWarp(const zeus::CVector3f& pt, float strength)
void CBooRenderer::DrawThermalModel(const CModel& model, const zeus::CColor& mulCol, const zeus::CColor& addCol)
{
CModelFlags flags;
flags.m_extendedShaderIdx = 2;
flags.color = mulCol;
flags.addColor = addCol;
model.Draw(flags);
}
void CBooRenderer::DrawXRayOutline(const CModel&, const float*, const float*)