警告:Alpha 阶段软件:目前处于重度开发中。预期会出现与其他模组组合或单独运行时崩溃的情况。
该模组是我尝试使用 GPU 上的计算着色器进行世界生成的努力。 当前模组使用 Vulkan API 来执行计算着色器。
该模组会改变世界生成吗? 当然,它只是一个单一的计算着色器。 我对噪声和原版世界生成的了解也不多。
我可以自定义世界生成吗? 当然可以,这也是模组的目标之一。只需将 GLSL 着色器编译为 SPV 格式并放入数据包即可。稍后我会编写具体的操作说明。现在,请查看 源代码 以了解具体细节。 特别是 内置着色器 和 内置数据包。
我可以在专用服务器上使用该模组吗? 不可以,至少目前不行。你可以手动将 LWJGL 库添加到类路径中。如果模组崩溃,服务器也会崩溃,因为崩溃处理代码依赖于客户端代码。希望这说得通。
要求
- Vulkan 1.4
- GL_EXT_shader_explicit_arithmetic_types_int8
- GL_EXT_shader_8bit_storage
目前已实现的功能
- 单次着色器传递,将每个方块位置(blockpos)转换为预定义方块调色板中的索引,最大大小为 256
- 最小程度的多线程支持(建议搭配 c2me 模组以充分利用性能)
- 从数据包加载着色器
计划中的功能
- 多通道着色器,用于修改生物群系和方块,并生成中间纹理
- 支持数据包重载
- 以类似原版的方式重新打包区块部分,而不是仅使用静态方块调色板从 GPU 进行简单的内存复制
- 允许通过推送常量复用着色器
- 允许在专用服务器上运行
社交渠道
- 如果您是着色器/世界生成开发者,并且已经使用了该模组,请联系我并提供您的作品信息。
WARNING: Alpha Software: Currently under heavy development. Expect crashes in combination w/ and w/o other mods.
This mod is my attempt to do worldgen using compute shaders on gpu. The mod currently uses vulkan api to execute compute shaders.
Does the mod change world generation? Yes ofc, it's just a single compute shader. I don't even know much about noise and vanilla world generation.
Can I customise the worldgen? Yes ofc, its one of the goals of the mod. Just compile a glsl shader into spv and put it into a datapack. I will write the specifics on how to do that later. For now, just check the Source Code to figure stuff out. Specifically Built in shader and Built in datapack
Can I use it on dedicated server No, At least for now, you can manually add lwjgl libraries to classpath. It will crash if the mod crashes, because the crash code is dependent on client code. Hope it makes sense.
Requirements
- Vulkan 1.4
- GL_EXT_shader_explicit_arithmetic_types_int8
- GL_EXT_shader_8bit_storage
Currently implemented
- Single shader-pass to translate each blockpos to a index in a pre-determined block palette of max size 256
- Minimal multithreading (use c2me mod to take full advantage)
- Loading shaders from datapacks
Planned
- Multi-pass shaders, to modify biomes and blocks, and generate intermediary textures
- Datapack reload support
- Repacking of chunk sections in manner similiar to vanilla, instead of simple memory copy from gpu using static block palette
- Allow reusing shaders via push constants
- Allow running on dedicated server
Socials
- If you are shader/worldgen dev, and have used the mod, please contact me with your work.
下载 GPU Land
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 GPU Land
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 GPU Land
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 GPU Land
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 GPU Land
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 GPU Land
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
- 更新至 26.2
- 遵循 Vulkan 规范
- 在 GPU 上实现生物群系生成
- 加速生物群系数据的复制
- 记录访问未知光影
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
原版世界生成优化模组
模组
新增 50+ 个独特生物群系,为你的世界增添新树木、花卉等更多元素!
模组
基于 GTCEu 1.12.2 的现代 GregTech
模组
让你能够在世界中的任何位置定位结构。
模组
简单的原版生物群系更新,包含有趣的怪物、方块等更多内容!
模组
为你的终界增添新生物群系、神秘仪式和全新生物
评论 0
登录后参与评分
还没有评论,来抢沙发吧