elishacloud / dxwrapper

Fixes compatibility issues with older games running on Windows 10/11 by wrapping DirectX dlls. Also allows loading custom libraries with the file extension .asi into game processes.
zlib License
1.15k stars 82 forks source link

Convert D3DFVF_XYZRHW into D3DFVF_XYZW #188

Closed dkollmann closed 1 year ago

dkollmann commented 1 year ago

You can now turn D3DFVF_XYZRHW rendering into D3DFVF_XYZW and it should look the same.

Trass3r commented 1 year ago

What's the use-case?

dkollmann commented 1 year ago

If you want to use RTX Remix, your geometry has to be in XYZ or XYZW mode. D3DFVF_XYZRHW is not supported.

elishacloud commented 1 year ago

This code does not work for me. Maybe there is something missing from your branch? When I compile it I get this:

image

image

dkollmann commented 1 year ago

Okay let me take a look. It is definitely working on my side.

dkollmann commented 1 year ago

Hey, I just wanted to say, I have not forgotten about this, but I will take until the weekend before I can take an actual look at it. Work is pretty rough right now.

elishacloud commented 1 year ago

No problem. Thanks.

dkollmann commented 1 year ago

I created a new pull request https://github.com/elishacloud/dxwrapper/pull/199.