crosire / d3d8to9

A D3D8 pseudo-driver which converts API calls and bytecode shaders to equivalent D3D9 ones.
BSD 2-Clause "Simplified" License
880 stars 78 forks source link

Transparent Vehicles In True Crime: New York City #44

Closed DisguisedD closed 6 years ago

DisguisedD commented 6 years ago

The Game now works with the latest release of d3d8to9. However, All of the vehicles In the Game seem to be rendered Incorrectly.

incorret

As Opposed to:

correct

Though The Game Is Playable, I thought It wouldn't hurt to Issue an Issue.

EDIT: The Issue affects cars at proximity only.

Close: close

Closer: closer

Hint: Cars at proximity are reflective.

elishacloud commented 6 years ago

Hello @DisguisedD, I found 3 separate issues here, one issue with CreateVertexDeclaration and two issues with CreatePixelShader. I created some updates that should resolve most of the issues.

Try with this update and let me know how it works: d3d8.zip

DisguisedD commented 6 years ago

Hello @ElishaCloud, Cars are now rendered correctly with the updated d3d8.dll file.

Without D3D8.dll: without

With D3D8.dll: with

Reason of Edit: I meant ' Cars are now' and not 'Cars are not.' Thank you, @ElishaCloud.