跳到正文

Shader Lenses

作者:dqwertyc.dev

Craftable Lenses and Glasses that apply post-effect shaders.

收藏

截图

介绍

中文介绍正在准备中,下面暂时显示原文。

This pack uses new features from Minecraft 26.3 to add a variety of lenses and glasses that apply post-effect shaders to the user.

Lens Crafting

Basic lenses can be crafted in any color using a glass or stained glass pane surrounded by 4 gold nuggets:
Sample Recipe for Lime Tinted Lens

Once crafted, they can be used by holding the lens in your mainhand and holding the use-item button (right-click). This will apply a shader and an overlay to the screen:
The world with a lime-tint shader applied

Lens Modification

Each lens can be modified in a number of ways by infusing different materials in a brewing stand:

Infusing Glowstone Dust into a tinted lens creates a lens that highlights that color and turns all other colors gray:
Green Highlight Lens recipe
Green Highlight Lens effect

Infusing an Amethyst Shard has the inverse effect, turning a tinted lens into a lens that turns one color gray and leaves all others intact:
Blue Block Lens recipe
Blue Block Lens effect

Infusing an Echo Shard creates a shader where edges are outlined in the color of the base lens:
Cyan Echo Lens recipe
Cyan Echo Lens effect

Finally, infusing a Warped Mushroom creates a warped lens, which has a variety of different effects depending on the original color. These effects are based on the existing post-effect shaders (such as the Creeper, Spider, and Endermen shaders applied when spectating those mobs), or the removed Super Secret Settigns shaders, documented on the Minecraft Wiki.
Warped Lens Crafting
Warped Lens example - inverted lens

Glasses Crafting

You can craft glasses out of any two lenses, creating an item that applies both shaders when worn. To start, you’ll need to make the Glasses Arms and Glasses Bridge pieces, both crafted out of Gold Nuggets:
Glasses Arms recipe
Glasses Bridge recipe

Then, craft the glasses using the two desired lenses, the arms, and the nose bridge. In this example, the “Deconverge” shader (Warped Clear Lens) is combined with the “Tube” shader (Warped Orange Lens) to create a combined shader with a glitchy, CRT screen effect:
Sample glasses made from a Deconverge and Tube lens
Combined Deconverge and Tube shaders

Additionally, most lenses can be modified to show a weaker version of the effect by creating a pair of glasses using a clear lens. For example, echo lenses show a desaturated version of the normal world with colored overlays on the edges instead of making everything but the edges black:
A half strength Cyan Echo Lens

If you mouse over a pair of glasses in your inventory, the tooltip will tell you the names of the lenses used to craft them:
Sample of glasses tooltip

Citations

The color transformation matrices for the Protanopia, Deuteranopia, and Tritanopia lenses are from:
Gustavo M. Machado, Manuel M. Oliveira, and Leandro A. F. Fernandes “A Physiologically-based Model for Simulation of Color Vision Deficiency”. IEEE Transactions on Visualization and Computer Graphics. Volume 15 (2009), Number 6, November/December 2009. pp. 1291-1298.

常见问题

Shader Lenses 支持哪些 Minecraft 版本?

Shader Lenses 支持 Minecraft Java 版 26.3。下载时注意选择和你游戏版本一致的文件。

Shader Lenses 怎么安装?

新建世界时在「数据包」里把下载的 .zip 拖进去;已有的存档,把文件放进存档目录下的 datapacks 文件夹,进游戏输入 /reload 即可生效。服务器同样放在世界目录的 datapacks 里。

评论

登录后评论和评分

dqwertyc.dev 的其他作品

查看全部 →