Different MSAA count # for antialiasing? (SampleDescription in SwapChainDescription) #508
-
|
I tried to run an example I got from "https://juhakeranen.com/winui3/" ++++++ The program crashed. ++++++ Could you please let me know if there’s anything I need to define or configure in order to use MSAA properly with WinUI 3 and Direct3D? Any guidance would be greatly appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 8 replies
-
|
Hi, Thanks! |
Beta Was this translation helpful? Give feedback.
-
|
Here you go... Just make sure you keep the offscreen texture the same size as the swapchain. And by the way, I don't think you can change the quality level like you did above. I've always left quality at zero. I remember AMD never used to support different quality levels. So, I never touched it. I tried changing those values just now and it still didn't work, and I have an NVidia card these days. So without doing some research I suspect you can't configure the quality level. And keep in mind, quality isn't necessarily quality. Think of it like a sampling mode. |
Beta Was this translation helpful? Give feedback.
Here you go...
d3dwinui3pt8.zip
Just make sure you keep the offscreen texture the same size as the swapchain.
And by the way, I don't think you can change the quality level like you did above. I've always left quality at zero. I remember AMD never used to support different quality levels. So, I never touched it. I tried changing those values just now and it still didn't work, and I have an NVidia card these days. So without doing some research I suspect you can't configure the quality level. And keep in mind, quality isn't necessarily quality. Think of it like a sampling mode.