Fornax
一个为 Minecraft 打造的 Vulkan 渲染引擎,作为 Sodium 的配套组件。Fornax 解决了高分辨率资源包带来的问题。
一个 256x 的 LabPBR 资源包可以为每个方块提供三种纹理:
- 颜色(Colour)
- 法线(Normal)
- 高光/镜面反射(Specular)
Minecraft 通常将这三种纹理合并到同一个图集(atlas)中。在较高分辨率下,图集可能会超出硬件限制,导致资源包无法加载。
Fornax 将法线和高光贴图存储在独立的图集中。它们不再占用主方块图集的空间。
这使得 256x 资源包能够在低端设备上以完整的颜色、法线和高光贴图正常加载。
Fornax 还提供光影包功能(需配合相应的光影包/GLSL)。
可用功能:
- 延迟渲染(Deferred rendering)
- 声明式渲染图(Declarative render graphs)
- LabPBR 材质
- 屏幕空间环境光遮蔽(SSAO)
- 屏幕空间反射(SSR)
- 时间抗锯齿(TAA)
- 超采样(Supersampling)
- 可配置的光影包设置
- Apple Silicon 上的实验性 MetalFX 帧生成
- *macOS on Apple Silicon 是目前唯一经过测试的平台。
安装前须知
- Fornax 不包含任何光影包。
- 目前尚未发布任何光影包(正在开发中,即将进入公开测试阶段)
- 单独安装 Fornax 不会改变 Minecraft 的视觉效果。在安装并选择兼容的 Fornax 光影包之前,光影效果处于禁用状态。
Fornax 光影包使用其专属格式:
- TOML 配置文件
- GLSL 着色器代码
- 不兼容为其他加载器制作的光影包
请参阅光影包格式文档。PACK-FORMAT
系统要求
- Minecraft 26.2
- Fabric Loader 0.19.2 或更高版本
- Sodium 0.9.1 或 0.9.2
- Java 25 或更高版本
- 启动器的 JVM 参数中包含
--enable-native-access=ALL-UNNAMED
已知限制
- 256x 资源包可以正常工作。
- 512x 资源包尚不支持(但昨天好像是可以的 >.>)
- 帧生成功能处于实验阶段。
- 帧生成需要开启垂直同步(VSync),并会增加约一帧的延迟。
- 极暗的表面可能会出现偶尔的亮像素闪烁。
- 亮像素问题仍在调查中。
- 截至目前,仅针对 Apple Silicon Mac 进行了测试。
开发说明
Fornax 由一人历时约两个月开发完成,并使用 AI 辅助编写代码和创建素材。
所有由 AI 生成的代码均经过严格的测试与验证,并根据需要进行审查、修改或直接弃用。
架构设计、决策制定、性能调优以及验收测试均由开发者独立完成并审查。生成的代码同样经过了必要的审查、修改或剔除。
Fornax
A Vulkan rendering engine for Minecraft, built as a companion to Sodium. Fornax fixes a problem with high-resolution resource packs.
A 256x LabPBR pack can have three textures for every block:
Minecraft normally puts all three into the same atlas. At higher resolutions, the atlas can exceed the hardware limit and the resource pack fails to load.
Fornax stores normal and specular maps in separate atlases. They no longer take space in the main block atlas.
This allows 256x packs to load with their colour, normal, and specular maps intact on low-end devices.
Fornax also provides shaderpack (when paired with the appropriate pack/GLSL) features.
Available Features:
- Deferred rendering
- Declarative render graphs
- LabPBR materials
- Screen-space ambient occlusion
- Screen-space reflections
- Temporal anti-aliasing
- Supersampling
- Configurable shaderpack settings
- Experimental MetalFX frame generation on Apple Silicon
- *macOS on Apple Silicon is currently the only tested platform.
Before installing
- Fornax does not include a shaderpack.
- No shaderpacks have been published yet (TBD and nearly finished for public testing)
- Installing Fornax by itself does not change Minecraft’s visuals. Shaders are disabled until you install and select a compatible Fornax shaderpack.
Fornax shaderpacks use their own format:
- TOML configuration
- GLSL shaders
- Not compatible with shaderpacks made for other loaders
See the pack format documentation. PACK-FORMAT
Requirements
- Minecraft 26.2
- Fabric Loader 0.19.2 or newer
- Sodium 0.9.1 or 0.9.2
- Java 25 or newer
- --enable-native-access=ALL-UNNAMED in your launcher’s JVM arguments
Known limitations
- 256x packs work.
- 512x packs do not work yet (but did yesterday >.>)
- Frame generation is experimental.
- Frame generation requires vsync and adds roughly one frame of latency.
- Very dark surfaces may show occasional bright pixels.
- The bright-pixel issue is still being investigated.
- Only Apple Silicon Macs have been tested so far.
Development
Fornax was built by one person over roughly two months, with AI used to assist with code and assets.
Any AI generated code was reviewed, modified, or rejected as needed through thorough testing and validation.
The architecture, design decisions, tuning, and acceptance tests were done and reviewed by the developer. Generated code was reviewed, modified, or rejected as needed.
评论 0
登录后参与评分
还没有评论,来抢沙发吧