通过超级采样(Super-sampling),也就是所谓的 SSAA,实现非常简单有效的抗锯齿。
这是什么?
抗锯齿通常通过“FXAA”、“TAA”、“MSAA”等方法来实现。所有这些方法都是近似算法,但速度非常快。FXAA 和 TAA 本质上只是非常高级的模糊处理,而 MSAA 只能平滑多边形的边缘;像素化的纹理完全被忽略在外,而这正是《Minecraft》的主要构成部分。
超级采样是最纯粹、最准确,但也最昂贵的抗锯齿形式。它会将整个场景以更高的分辨率渲染,然后进行缩小以适应显示。同时,这也是最容易实现的一种方案。
例如,如果你在一个 1280×720 的窗口中游玩,QDAA 会先将游戏以 2560×1440 的分辨率渲染,然后在绘制到屏幕之前将其缩放回 1280×720。
本模组复用了《Minecraft》中用于处理 macOS Retina 显示屏的功能,因此兼容性应该很好,除非有其他模组修改了帧缓冲区绘制到屏幕的方式。从技术上讲,它还优化了最终的渲染步骤,用 blit(块传输)操作替换了普通的四边形渲染。
值得注意的是,由于这种工作机制,QDAA 甚至可以对 GUI 进行抗锯齿,从而提高旋转文本的可读性并平滑 3D 物品模型的边缘。光影仅作用于世界画面。
版本
2.0 版是基于旧版“Simple”版本重新设计的跨平台版本,适用于 1.21.1 及以上版本。历史上,QDAA 提供“Simple”和“Configurable”两个版本,分别对应 v1.1 和 v1.2,这是因为当初开发时缺乏远见。
Simple
极其基础的抗锯齿实现。适用于任何拥有 Blaze3D 的版本,我发誓。可能永远不需要更新。如果我忘了标记新版本,请提醒我。 Mojang 重构了其帧缓冲区代码,导致该版本失效。真是令人欣喜。2.0 版的存在就是为了修复这个问题。
注意:1.16 及更早版本仅部分支持。仅支持 1.18 及更高版本。
Configurable
功能更“完善”的模组,配有配置界面和运行时切换功能。对于整合包来说,默认关闭并随包分发可能很有用。由于大量使用 GUI,该版本高度依赖特定版本。预计不会再有更新,对此我感到很后悔。
Implements really simple antialiasing via super-sampling, also known as SSAA.
Huh?
Antialiasing is often implemented via "FXAA", "TAA", "MSAA", etc. All of these methods are approximations, but they're very fast. FXAA and TAA are basically just really fancy blurs, and MSAA can only smooth polygon edges; pixelated textures are totally missed out on, which is most of what Minecraft is.
Super-sampling is the most pure, accurate, and expensive form of antialiasing. The entire scene is rendered at a higher resolution, and then downscaled for presentation. It's also the easiest to implement.
For example, if you're playing in a 1280×720 window, then QDAA will render the game at 2560×1440 instead, and then resize it to 1280×720 before it's drawn to the screen.
This mod reuses functionality in Minecraft that handles macOS Retina displays, so it should be quite compatible, except with other mods that modify how the framebuffer is drawn to the screen. It also technically optimizes the final render step, replacing a normal quad render with a blit.
Notably, due to how this works, QDAA can even antialias GUIs, improving readability of rotated text and smoothing the edges of 3D item models. Shaders only work on the world.
Versions
2.0 is an xplat redesign of QDAA based on the old "Simple" version, which works on 1.21.1+. Historically, QDAA is available in both "Simple" and "Configurable" versions, which are v1.1 and v1.2 due to having no foresight.
Simple
Really basic implementation of just the AA. Works on any version with Blaze3D, pinky promise. Will likely never need updating. Remind me if I forget to tag new versions. Mojang refactored how their framebuffer code works, so it broke. Yay. 2.0 exists to fix this.
Note: 1.16 and earlier only sorta work. Only 1.18 and higher is supported.
Configurable
More "full-fledged" mod with a config screen and runtime toggling. Potentially useful to ship in modpacks off-by-default. Highly version-dependent due to usage of GUIs. Likely won't receive updates, I regret it.
下载 QDAA
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 QDAA
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 QDAA
下载 QDAA
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 QDAA
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 QDAA
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 QDAA
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
- “移植”到 NeoForge
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
可定制的鞘翅模组,支持装饰纹饰、旗帜图案等更多功能!
模组
适用于 MC 1.18+ 的 Effekseer 加载器
模组
新增 50+ 个独特生物群系,为你的世界增添新树木、花卉等更多元素!
模组
基于 GTCEu 1.12.2 的现代 GregTech
模组
TerraFirmaCraft (TFC) 是一个全面转换模组,对生存模式进行了彻底的改造与重新设计。
模组
对 Minecraft 的沙漠神殿进行了全面重新设计!
评论 0
登录后参与评分
还没有评论,来抢沙发吧