walbourn / directx-sdk-samples

This repo contains Direct3D 11, XInput, and XAudio2 samples C++ samples from the legacy DirectX SDK updated to build using the Windows 10 SDK
https://walbourn.github.io/directx-sdk-samples-catalog/
MIT License
1.38k stars 369 forks source link

This version has cracks in mesh and texture distortion #1

Closed RogersDoug closed 1 year ago

RogersDoug commented 8 years ago

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

walbourn commented 8 years ago

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

walbourn commented 8 years ago

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

RogersDoug commented 8 years ago

Yes, sorry I was not specific: SubD11 example

walbourn commented 8 years ago

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

RogersDoug commented 8 years ago

Do you mean there is a bug in the shader?

walbourn commented 8 years ago

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.

RogersDoug commented 8 years ago

How about giving it to the compiler team to fix?

walbourn commented 1 year ago

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.