
基于维度的光影
根据维度自动切换 Iris 光影包。
为 主世界、下界 和 末地 分别设置一个光影包,然后让模组在加入世界或切换维度时自动处理其余操作。
功能
- 按维度配置光影包
- 自动切换
- Iris 集成
- 通过 Iris 应用所选的光影包,并在需要时重新加载光影
- 简单的配置
配置
配置文件存储于 config/dimension_based_shaders.json,但建议使用 ModMenu 来获取游戏内的可视化设置界面。
ModMenu 集成
通过 ModMenu 可访问的设置页面中,为每个维度都提供了一个输入框。请指定光影的确切名称。
然而,输入完整名称既繁琐又容易拼写错误,因此您可以点击“获取当前”以使用当前已加载的光影包。
要求
- Minecraft:
1.21.11
- 加载器: Fabric
- 必需: Fabric API、Iris(因此也包含 Sodium)
- 推荐: Mod Menu
说明 / 已知行为
- 切换光影包可能会导致(并且极有可能会)短暂的卡顿,这是由于光影重新加载所致(具体取决于光影包和硬件性能)。
- 如果配置的光影包名称缺失或拼写错误,Iris 将卸载所有光影包(其他维度的光影包仍会正常工作)。为避免此情况,请点击“获取当前”。
- 如果您在一个维度内手动切换了光影,在进入另一个维度时,模组将再次进行切换。
兼容性
- 仅限客户端(视觉效果变更)。
- 只要 Iris 存在且正常运行,通常与常见的渲染/性能模组兼容。
常见问题
问:这能在服务器上运行吗?
答:可以——这是客户端的视觉效果行为。服务器无需安装任何内容。
问:我可以禁用某个维度的光影吗?
答:您可以将输入框留空来避免使用该维度的光影。
问:我需要 Mod Menu 吗?
答:不是必需的,但为了便捷的游戏内配置,推荐使用。
问:这个模组支持自定义维度吗?
答:是的,不过某些维度可能只有在您身处该维度时才会出现在配置菜单中。但是,如果您更改了设置,即使退出该维度,设置也会被保留。
致谢
- Iris Shaders — 必需的依赖项及光影系统
- Mod Menu — 可选的设置集成
支持 / 问题反馈
如果遇到任何问题,请确保您使用的是正确的:
- Minecraft 版本
- Fabric 加载器版本
- Iris 版本

Dimension Based Shaders
Automatically switch Iris shader packs per dimension.
Set one shader pack for the Overworld, another for the Nether, and a third for The End—then let the mod handle the rest whenever you join a world or change dimensions.
Features
- Per-dimension shader packs
- Automatic switching
- No manual pack swapping mid-session
- Iris integration
- Applies the selected shader pack through Iris and reloads shaders as needed
- Simple configuration
- Configure once, enjoy consistent visuals everywhere
Configuration
A config file is stored at config/dimension_based_shaders.json, however it is recommended to use ModMenu for an in-game visual settings screen.
ModMenu integration
The settings page (accesible through ModMenu) contains an input for each dimension. By specifying the exact name of the shader.
However, typing the whole name is tedious and could cause mispellings, so you can click "Get Current" to use to shader pack currently loaded.
Requirements
- Minecraft:
1.21.11
- Mod Loader: Fabric
- Required: Fabric API, Iris (therefore, also Sodium)
- Recommended: Mod Menu
Notes / Known behavior
- Switching shader packs may (and most likely will) cause a brief stutter due to shader reload (depends on pack and hardware).
- If a configured shader pack name is missing or misspelled, Iris will unload all shader packs (other dimensions' packs will still work). Avoid this by clicking "Get Current".
- If you manually switch shaders in a dimension, the mod will switch again when entering another.
Compatibility
- Client-side only (visual change).
- Generally compatible with common rendering/performance mods as long as Iris is present and working.
FAQ
Q: Does this work on servers?
A: Yes—this is client-side visual behavior. Servers don’t need to install anything.
Q: Can I disable shaders in one dimension?
A: You can avoid using a shader by leaving the input field empty.
Q: Do I need Mod Menu?
A: Not required, but recommended for convenient in-game configuration.
Q: Does this mod support custom dimensions?
A: Yes, however some dimensions may only appear in the configuration menu only if you are present in that dimension. However, if you change the setting, it will be preserved even when exiting the dimension.
Credits
- Iris Shaders — required dependency and shader system
- Mod Menu — optional settings integration
Support / Issues
If you run into issues, please make sure you're using the correct:
- Minecraft version
- Fabric loader version
- Iris version
评论 0
登录后参与评分
还没有评论,来抢沙发吧