mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-11 07:07:42 +00:00
Update hecl
This commit is contained in:
@@ -285,7 +285,6 @@ CBooModel::ModelInstance* CBooModel::PushNewModelInstance()
|
|||||||
TCachedToken<CTexture>& tex = x1c_textures[idx];
|
TCachedToken<CTexture>& tex = x1c_textures[idx];
|
||||||
texs[texCount++] = tex.GetObj()->GetBooTexture();
|
texs[texCount++] = tex.GetObj()->GetBooTexture();
|
||||||
}
|
}
|
||||||
texs[6] = g_Renderer->x14c_reflectionTex;
|
|
||||||
texs[7] = g_Renderer->x220_sphereRamp;
|
texs[7] = g_Renderer->x220_sphereRamp;
|
||||||
|
|
||||||
if (m_skinBankCount)
|
if (m_skinBankCount)
|
||||||
@@ -308,6 +307,7 @@ CBooModel::ModelInstance* CBooModel::PushNewModelInstance()
|
|||||||
bool useReflection = mat.flags.samusReflection() || mat.flags.samusReflectionSurfaceEye();
|
bool useReflection = mat.flags.samusReflection() || mat.flags.samusReflectionSurfaceEye();
|
||||||
if (useReflection)
|
if (useReflection)
|
||||||
{
|
{
|
||||||
|
texs[texCount] = g_Renderer->x14c_reflectionTex;
|
||||||
thisOffs[3] = curReflect;
|
thisOffs[3] = curReflect;
|
||||||
curReflect += 256;
|
curReflect += 256;
|
||||||
}
|
}
|
||||||
@@ -340,7 +340,7 @@ CBooModel::ModelInstance* CBooModel::PushNewModelInstance()
|
|||||||
}
|
}
|
||||||
else if (useReflection)
|
else if (useReflection)
|
||||||
{
|
{
|
||||||
texCount = 7;
|
texCount = mat.textureIdxs.size() + 1;
|
||||||
ltexs = texs;
|
ltexs = texs;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|||||||
2
hecl
2
hecl
Submodule hecl updated: e88c5a6891...8fb54452d2
Reference in New Issue
Block a user