dxwrapper icon indicating copy to clipboard operation
dxwrapper copied to clipboard

[Freelancer (2003)] Odd-looking shadow appears when camera moves up/down (D3d8to9 only)

Open BC46 opened this issue 1 year ago • 4 comments

When opening the equipment dealer menu in the video game Freelancer (2003), the camera moves up before the interface appears. Whenever this is done with the D3d8to9 option enabled, an odd-looking shadow appears below the ship. If D3d8to9 is turned off, this doesn't occur.

I've tested this on DxWrapper versions 1.1.6900.22 and 1.1.6972.22; the problem could be seen on both.

D3d8to9 = 1:

https://github.com/elishacloud/dxwrapper/assets/45081813/9e46e579-6993-4a4e-8640-b27265a9ae85

D3d8to9 = 0:

https://github.com/elishacloud/dxwrapper/assets/45081813/0e1ecb4b-2010-4d19-acd9-cd4c6587a557

BC46 avatar Apr 23 '24 18:04 BC46

I wonder if this is related to #136.

elishacloud avatar Apr 23 '24 20:04 elishacloud

I'm not entirely sure since presumably the linked issue relates to legacy D3D8, whereas the shadow issue only occurs when converting D3D8 to 9.

BC46 avatar Apr 23 '24 21:04 BC46

I've created a PIX snapshot of the shadow bug while running the game with just d3d8to9 v1.12.0: ShadowBugFreelancerD3d9.zip. Thought it may give some insights into what could cause the bug to occur.

BC46 avatar Apr 26 '24 13:04 BC46