Closed 0x1F9F1 closed 1 year ago
When software rendering is enabled, mmDrawbridgeInstance::Draw sets ZEnable = 1
before drawing, and ZEnable = 0
afterwards, instead of restoring the previous value
Disabling VisitTags in mmCellRenderer::Cull
by patching the jump at 0x49968C
fixes the issue, though it is not clear why.
The shadow issues were fixed by d90b2294e217fc2f157f51862461194f53036cee
Disabling VisitTags in
mmCellRenderer::Cull
by patching the jump at0x49968C
fixes the issue, though it is not clear why.
This should now be fixed in 5e45760cde29089877f7d6c698ff22aa3febd1b4 (though I haven't tested it extensively).
In some parts of the map, enabing the rear view mirror can break depth testing. It also seems to change the shdaow color.
![SHOT0002](https://user-images.githubusercontent.com/6098371/124775410-81922a00-df36-11eb-9f64-8273e2fcdb78.PNG)