directx-sdk-samples icon indicating copy to clipboard operation
directx-sdk-samples copied to clipboard

This version has cracks in mesh and texture distortion

Open RogersDoug opened this issue 10 years ago • 7 comments

The version in the DirectX 10 SDK is fine, but this update looks like it introduced issues.

RogersDoug avatar Dec 31 '15 20:12 RogersDoug

Please be more specific about exactly which sample of the 40+ samples in the repo are showing an issue.

walbourn avatar Jan 01 '16 00:01 walbourn

I assume this is a report of a problem with SubD11 that was also commented on the MSDN Code Gallery.

walbourn avatar Jan 04 '16 20:01 walbourn

Yes, sorry I was not specific: SubD11 example

RogersDoug avatar Mar 21 '16 16:03 RogersDoug

The problem is in the shader. It works if built with #43 (DXSDK) or #46 (VS 2012), but not with #47 (Windows 8.1 or Windows 10).

walbourn avatar Apr 09 '16 01:04 walbourn

Do you mean there is a bug in the shader?

RogersDoug avatar Apr 10 '16 16:04 RogersDoug

There's a bug in the shader compiler. Unfortunately it's a quite complex shader, so narrowing down the codegen bug and finding a workaround is difficult.

walbourn avatar Apr 10 '16 20:04 walbourn

How about giving it to the compiler team to fix?

RogersDoug avatar Apr 12 '16 23:04 RogersDoug

The FXC compiler is in 'sustaining' mode and has been for a long time, with all the focus of the HLSL team on the Shader Model 6 compiler (DXC) for DirectX 12.

With the most recent version (Windows 11), the problems around the lips are resolved but there are still a few incorrect triangle mappings visible on the face.

walbourn avatar Dec 10 '22 20:12 walbourn