mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 11:07:44 +00:00
MP2 MREA geometry
This commit is contained in:
@@ -666,7 +666,7 @@ void _ConstructMaterial(Stream& out,
|
||||
char a_regs[4][64] = {"ONE", "ONE", "ONE", "ONE"};
|
||||
|
||||
/* Has Lightmap? */
|
||||
if (material.tevStages[0].colorInB() == GX::CC_C1)
|
||||
if (material.flags.lightmap() && material.tevStages[0].colorInB() == GX::CC_C1)
|
||||
{
|
||||
if (material.tevStageTexInfo[0].texSlot != 0xff)
|
||||
out << "new_material.retro_lightmap = tex_maps[0].name\n"
|
||||
|
||||
Reference in New Issue
Block a user