walbourn/directx-sdk-samples

This version has cracks in mesh and texture distortion

RogersDoug opened this issue · 8 comments

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

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

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

Yes, sorry I was not specific: SubD11 example

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).

Do you mean there is a bug in the shader?

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.

How about giving it to the compiler team to fix?

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.