mirror of
https://github.com/RetroDECK/Supermodel.git
synced 2024-11-26 15:45:41 +00:00
Luminous bit is now also dumped in polygon header analysis because shading modes may depend on whether or not lighting is enabled
This commit is contained in:
parent
34e8f00382
commit
7456aa745c
|
@ -457,7 +457,7 @@ static void TestPolygonHeaderBits(IEmulator *Emu)
|
||||||
0x000000c0,
|
0x000000c0,
|
||||||
0x000000a0,
|
0x000000a0,
|
||||||
0xffffff60,
|
0xffffff60,
|
||||||
0xff8200ff // not sure about contour and luminous
|
0xff0300ff // not sure about contour and luminous
|
||||||
};
|
};
|
||||||
// Render separate image for each unknown bit
|
// Render separate image for each unknown bit
|
||||||
g_forceFlushModels = true;
|
g_forceFlushModels = true;
|
||||||
|
@ -490,7 +490,7 @@ static void TestPolygonHeaderBits(IEmulator *Emu)
|
||||||
contents += " var g_unknown_bits = [" + std::string(Util::Format(",").Join(unknownPolyBits)) + "];\n";
|
contents += " var g_unknown_bits = [" + std::string(Util::Format(",").Join(unknownPolyBits)) + "];\n";
|
||||||
contents += s_polyAnalysisHTMLEpilogue;
|
contents += s_polyAnalysisHTMLEpilogue;
|
||||||
fs << contents;
|
fs << contents;
|
||||||
printf("Produced %s\n", file.c_str());
|
printf("Produced: %s\n", file.c_str());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue