实现了抗锯齿简单又真实,采用了超采样,也称为SSAA。
抗锯齿是什么?
抗锯齿通常通过“FXAA”、“TAA”、“MSAA”等方法来实现。所有这些方法都是近似方法,但速度非常快。FXAA和TAA基本上只是非常复杂的模糊效果,而MSAA只能平滑多边形边缘;像素化纹理完全被忽略,而这正是Minecraft的大部分内容。
超采样是抗锯齿中最纯粹、准确和昂贵的形式。整个场景以更高的分辨率渲染,然后缩小到呈现的大小。它也是最容易实现的。
例如,如果您在一个1280×720的窗口中玩游戏,那么QDAA将以2560×1440的分辨率渲染游戏,然后在绘制到屏幕之前缩小到1280×720。
该模组复用了处理macOS Retina显示器的Minecraft功能,因此它应该相当兼容,除了那些修改帧缓冲区如何绘制到屏幕的其他模组。它还在技术上优化了最终呈现步骤,将普通的四边形呈现替换为“blit”。
值得注意的是,由于其工作原理,QDAA甚至可以对GUI进行抗锯齿处理,提高了旋转文本的可读性并平滑了3D物品模型的边缘。着色器只在世界上起作用。
版本
提供“简易”和“可配置”版本,分别为v1.1和v1.2,由于缺乏远见。
简易版
非常基础的AA实现,适用于任何版本的Blaze3D,我发誓。可能永远不需要更新。如果我忘记打新版本的标签,请提醒我。
注意: 1.16及以前版本 [*有点*](
可配置版
更“全面”一些的模组,带有配置界面和运行时切换功能。由于使用GUI,高度依赖版本。可能不会收到更新,我后悔了。
截图:
版本&下载
* "Port" to NeoForge
2.0 (Fabric)
* Get it working properly on 1.21.1+ and Sodium 0.6
v1.2 (Quilt, Configurable)
***Usage of this version is discouraged. It has very narrow version support, will not receive updates, and is mildly unstable.***
* Added a config file
* Added support for toggling SSAA at runtime
* Added a config screen that facilitates side-by-side comparison — only works on 1.19.2, but doesn't crash on other versions due to ModMenu being smart about it
* Guava and ModMenu API differences mean no 1.17- support
* MatrixStack changes mean no 1.19.3 support
* Added a config file
* Added support for toggling SSAA at runtime
* Added a config screen that facilitates side-by-side comparison — only works on 1.19.2, but doesn't crash on other versions due to ModMenu being smart about it
* Guava and ModMenu API differences mean no 1.17- support
* MatrixStack changes mean no 1.19.3 support
v1.1.2 (Fabric/Quilt)
* Changed how the alpha fix is done, fixing breakage of world autoscreenshots
v1.1.1
* Fixed alpha channel not being ignored in screenshots, causing some things to be invisible (e.g. Yttr Bloques, Modern Industrialization pipes, Lib39 halos)
v1.1
* Screenshots are now automatically downsampled
v1.0
* Initial release — created this as a quick hack to record Yttr demos, but it's a pretty nice little thing that I couldn't find any other implementations of, so here you go.
收录



