mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 05:47:42 +00:00
ColorRegs for CModelFlags
This commit is contained in:
@@ -518,6 +518,9 @@ void CBooModel::UpdateUniformData(const CModelFlags& flags) const
|
||||
{
|
||||
CModelShaders::LightingUniform& lightingOut = *reinterpret_cast<CModelShaders::LightingUniform*>(dataCur);
|
||||
lightingOut = m_lightingData;
|
||||
lightingOut.colorRegs[0] = flags.regColors[0];
|
||||
lightingOut.colorRegs[1] = flags.regColors[1];
|
||||
lightingOut.colorRegs[2] = flags.regColors[2];
|
||||
}
|
||||
|
||||
m_uniformBuffer->unmap();
|
||||
|
||||
Reference in New Issue
Block a user