Open BC46 opened 5 months ago
I wonder if this is related to #136.
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.
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.
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. IfD3d8to9
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