Work on J3DMatBlock (#2164)

This commit is contained in:
hatal175
2024-06-04 23:25:37 +03:00
committed by GitHub
parent 59175a46fd
commit 1c1e65bc4b
156 changed files with 1842 additions and 7315 deletions
+1 -1
View File
@@ -298,7 +298,7 @@ static void addWarpMaterial(J3DModelData* param_1) {
texGenBlock->setTexMtx(texGenNum, texMtxInfo);
J3DTevBlock* tevBlock = pMaterial->getTevBlock();
u8 tevStageNum = tevBlock->getTevStageNum();
l_tevOrderInfo.field_0x0 = texGenNum;
l_tevOrderInfo.mTexCoord = texGenNum;
tevBlock->setTexNo(3, textureNum);
tevBlock->setTevOrder(tevStageNum, l_tevOrderInfo);
tevBlock->setTevStage(tevStageNum, l_tevStageInfo);