protonscr

[D3D9]Half Life 2 shadow maps problem

dxvkclosed d3d9
doitsujin/dxvk#1325 · opened 2020-01-07 by KuraiShidosha · updated 2020-01-08 · 4 comments · github
KKuraiShidosha 2020-01-07 github

When close to objects the shadows drawn from the flashlight clip wrongly.
Native D3D9: https://i.imgur.com/iobHSQJ.png
DXVK 1.5: https://i.imgur.com/ydKCC3y.png
The issue is most obvious when you are close to an object.

System information

  • GPU: 1080 Ti
  • Driver: 441.87 (present on earlier versions too)
  • DXVK version: 1.5

Apitrace file(s)

Log files

KKuraiShidosha 2020-01-07 github

Another example, note the missing shadows through the grate.
Native D3D9: https://i.imgur.com/eXqw760.png
DXVK 1.5: https://i.imgur.com/V2KmfvR.png

Mmisyltoad 2020-01-07 github

This is depth bias and needs an extension to work properly.

KKuraiShidosha 2020-01-08 github

Problem solved 👍

Nothing extracted yet.