1
0
mirror of https://github.com/blawar/GLideN64.git synced 2024-07-02 09:03:37 +00:00

Implement command 0x05. This command generates polygons for terrain geometry.

Very large and complex.
This commit is contained in:
Sergey Lipskiy 2017-07-28 11:19:20 +07:00
parent 1fb8653dae
commit 1bb170a3c4
3 changed files with 954 additions and 103 deletions

File diff suppressed because it is too large Load Diff

View File

@ -666,11 +666,6 @@ void GraphicsDrawer::drawTriangles()
_prepareDrawTriangle();
if (gSP.swrs_special) {
CombinerInfo::get().setCombine(EncodeCombineMode(0, 0, 0, SHADE, 0, 0, 0, 1, 0, 0, 0, SHADE, 0, 0, 0, 1));
currentCombiner()->update(true);
}
Context::DrawTriangleParameters triParams;
triParams.mode = drawmode::TRIANGLES;
triParams.flatColors = m_bFlatColors;

View File

@ -140,7 +140,6 @@ struct gSPInfo
u32 textureCoordScaleOrg;
u32 textureCoordScale[2];
bool swrs_special;
};
extern gSPInfo gSP;