
Dither
Dither 是一款高性能的风格化光影包,旨在在 Minecraft 中重现手绘像素艺术图形。该光影包高度可定制,允许你控制其几乎所有方面。
包括逐像素抖动、自定义调色板量化(它将仅使用调色板中的颜色来显示 Minecraft)、用于锐利轮廓的边缘检测,以及用于低分辨率外观的清晰下采样。

使用自定义调色板
为了使用自定义调色板,我们需要稍微编辑一下文件。一旦你获得了光影包的副本,它可能是压缩格式。解压它(光影包支持压缩和未压缩两种形式),并找到 shaders 文件夹。在其中,应该有一个 palette.glsl 文件。这是一个只包含调色板信息的小文件。你不需要触碰任何其他文件。
颜色调色板通常以十六进制格式提供,但这与着色器代码不兼容!我制作了一个小巧的工具,可以将你最喜欢的调色板转换为完全可用的代码,你可以直接将其粘贴到 palette.glsl 文件中。因此,你只需使用可用的文本编辑器打开该文件,进行修改,然后保存即可。
保存文件后,请确保重新加载光影包。另外,如果你不想寻找自己的调色板,光影包中还有一个名为 palettes.txt 的文本文件,你可以从中复制一些预生成的调色板!

常见问题解答 (FAQ)
这与 Iris 兼容吗?
是的,这是专为完全兼容 Iris 而编写的光影包。
这与 Optifine 兼容吗?
可能可以。我尚未在 Optifine 上进行任何测试,所以你可以自由尝试并在我的 Discord 服务器中报告结果。
如何编辑设置?
导航到你的光影选择屏幕,然后点击“Shader Settings”(光影设置)以进入选项菜单。
为什么光照看起来很奇怪?
Iris 目前存在一个关于光照贴图的问题,导致光照反转。截至目前,所有高于及等于 1.21.9 的版本都受影响。建议使用 1.21.8 版本来搭配此光影包游玩。
为什么这不起作用?
- 检查你是否没有其他视觉修改模组
- 确保你的电脑显卡驱动程序是最新的
- 检查你是否使用的是受支持的 Minecraft 版本
- 确保你正在使用 Iris
- 尝试重启 Minecraft
如果问题仍然存在,请在 GitHub 仓库中提交 issue,或加入我的 Discord 服务器进行报告。我会尽快尝试调试。
哪里可以找到好的调色板?
Lospec 是一个包含数千个用户提交的调色板的网站,这是我满足所有调色板需求的来源。
在哪里可以找到代码?
GitHub 仓库包含了此光影包的所有代码,侧边栏应该有链接。
这看起来像垃圾!
这很有可能。获得视觉上令人愉悦的图像需要大量的微调,这就是为什么我提供了这么多调整选项的原因。
更改我的调色板太难了!
不幸的是,这只是 Minecraft 光影包的一个限制。我已经使过程尽可能简单,甚至专门编写了一个完整的 Web 工具,以便让你快速创建兼容的调色板代码。
我会继续研究,如果我找到更简单的解决方案,会更新光影包。


Dither
Dither is a high-performance stylized shaderpack that aims to recreate hand-drawn pixel art graphics in minecraft. The pack is highly customizable and allows you to control almost every aspect of it.
Including per pixel dithering, custom palette posterization (it will use only the colors in a palette to display minecraft), edge detection for sharp outlines, as well as crisp downsampling for a low resolution look.

Using Custom Palettes
In order to use custom palettes, we need to edit the files a little bit. Once you have a copy of the shaderpack, it will likely be zipped. Unzip it (shaderpack will work zipped and unzipped), and locate the shaders folder. Inside, there should be a palette.glsl file. This is a small file that contains only the palette information. You do not need to touch any other files.
Color palettes typically come in hex format, and this will not work with shader code! I've made a tiny tool that allows you to convert your favorite palettes to fully working code which you can just paste into that palette.glsl file. So you simply need to open up the file with your available text editor, make your changes, and save it.
After saving the file, make sure to reload the shaderpack. Alternatively if you don't wish to find your own palette, there's a text file named palettes.txt in the shaderpack from which you can copy some pre-generated palettes!

FQA
Does this work with Iris?
Yes, this is written to be a fully Iris compatible shaderpack.
Does this work with Optifine?
It might. I haven't proceeded with any testing on Optifine, so you're free to try it out and report the results in my discord server.
How do I edit settings?
Navigate to your shader selection screen and click on "Shader Settings" for the options menu.
Why does the lighting look weird?
Iris currently has an issue with lightmaps which causes inverted lighting. Any version above and including 1.21.9 is affected as of now. It is recommended to use 1.21.8 to play with this shaderpack.
Why doesn't this work?
- Check that you don't have any other visual modifications
- Ensure your computer graphics drivers are up to date
- Check that you are using a supported version of Minecraft
- Make sure that you are using Iris
- Try restarting Minecraft
If the issue persists, open an issue on the github repository or join my discord server to report it. I will try to debug it as soon as possible.
Where can I find good palettes?
Lospec is a site that contains thousands of user-submitted palettes, it is what I use for all of my palette needs.
Where can I find the code?
The github repository contains all the code for this shaderpack, it should be linked on the side.
This looks like trash!
That's quite possible. It does take a lot of fine-tuning to get visually appealing images, which is why I've provided so many options to tweak.
It's too hard to change my palette!
Unfortunately that's simply a limitation of Minecraft shaderpacks. I've made the process as simple as possible, even going so far as to write an entire web tool to quickly allow you to create compatible palette code.
I'll keep looking into it and update the shader if I ever find an easier solution.

评论 0
登录后参与评分
还没有评论,来抢沙发吧