michael-fadely / sadx-d3d11

MIT License
9 stars 3 forks source link

Lost World waterfall rendering incorrectly with OIT #18

Open PiKeyAr opened 5 years ago

PiKeyAr commented 5 years ago

Happens in vanilla DX only. OIT on: image OIT off: image Display sub: 5E6340

michael-fadely commented 5 years ago

Likely a Z-Comparison mode being naively ignored by the composite shader. Thanks for the report.

PiKeyAr commented 5 years ago

So I guess writing 01 to 005E64C6 to enable Z Write should fix it. I don't know where the fix could be applied in the generic version, though.