D3D11多样本和可抗肌动素可影响线渲染

发布于 2025-02-07 17:38:10 字数 593 浏览 2 评论 0 原文

Microsoft D3D11 d3d11_rasterizer_desc 结构写入:

多样本和抗亚利亚线元素的设置仅适用于多样本抗脉络化(MSAA)渲染目标(也就是说,呈现样本计数的渲染目标大于1)。

>

我应该希望只有在我渲染到多采样目标时,而不是当我渲染“单个采样”一个时,才能将线路渲染受到这些成员的影响?

当绘制线条带时,我发现线栅格化会受到这些设置的影响:

”在此处输入图像描述

我缺少什么?

Microsoft D3D11 documentation for D3D11_RASTERIZER_DESC structure writes:

The settings of the MultisampleEnable and AntialiasedLineEnable members apply only to multisample antialiasing (MSAA) render targets (that is, render targets with sample counts greater than 1).

Should I expect line rendering to be affected by those members only when I am rendering to a multisampled target and not when I am rendering on a "single sampled" one?

When drawing a Line Strip I found line rasterization to be affected by those settings:

enter image description here

What am I missing?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文