Broken Attempt at Depth Bias

Pushing so I can ask the smarter people questions
This commit is contained in:
SuperDude88
2026-05-22 13:26:39 -04:00
parent 8ae35dc9ea
commit 31298f24ba
@@ -222,6 +222,9 @@ void J3DMatPacket::draw() {
}
#endif
PolygonOffset* temp = mpMaterial->getPEBlock()->getPolygonOffset();
GX2SetPolygonOffset(temp->mFrontOffset, temp->mFrontScale, temp->mBackOffset, temp->mBackScale, temp->mClamp);
callDL();
J3DShapePacket* packet = getShapePacket();
@@ -230,6 +233,8 @@ void J3DMatPacket::draw() {
#endif
packet->getShape()->loadPreDrawSetting();
// TODO: MAT4 sets polygon offset here in HD
while (packet != NULL) {
if (packet->getDisplayListObj() != NULL) {
packet->getDisplayListObj()->callDL();