GPU Land

Quick rating

GPU Land

No reviews yet

My attempt at worldgen on the gpu

World Gen Improvements
Mod Loaders
Fabric
Quilt
Minecraft
26.2

Community voices

Reviews

Versions
Loading versions…
Match includes

Click once to include, again to exclude, again to clear

Rating Any
Any 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0
Min
Max
Play Status
Reviews
Time Played
hrs+
Verified developers only
Has developer response
List view
Grid view
Compact view
Sort by
Date
Rating
Helpful
Unhelpful
Edited
Sort ascending
Delete this review?

This removes your review from the project. You can write a new review after.

Review submitted for moderation

Your review has been sent to moderators, who will check that it meets our guidelines before it appears publicly.

No reviews yet. Be the first to review this project!

Get it on

Available Platforms

Compatibility

Supported Environments

Dev Environment
Client Required
Server Required

About

Project Details

Type
Mod
License
Mozilla Public License 2.0
Authors

For authors

Embed Badge

If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.

Custom banner text
ModDex rating badge preview

Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.

Identifiers

Platform IDs

Modrinth ID

Resources

External Links

About

Description

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.

Available on codeberg Available on modrinth Support me on Ko-Fi

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.

Chat with us on discord Chat with me on mastodon Chat with us on Gitter

Screenshots

Gallery

  • Early gen attempt
    Early gen attempt
  • Super early testing of worldgen
    Super early testing of worldgen
  • Early compute shaders I wrote to try make noise
    Early compute shaders I wrote to try make noise
  • Worldgen breaking at world border
    Worldgen breaking at world border
  • Early end dimension
    Early end dimension
  • My attempt at 3d noise
    My attempt at 3d noise
  • Weird error caused by cpu code
    Weird error caused by cpu code
  • Current reference implementation
    Current reference implementation

Versions

Files

Relations

Project Relations

More like this

Similar Mods

Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.

On ModDex

Community snapshot

0
Ratings
0
Followers
0
In stacks

By the numbers

Statistics

<1,000
Downloads
Last Updated
CurseForge
Created
Last synced
When ModDex last fetched this project from CurseForge or Modrinth. Every project is re-checked on a schedule, and any project that ships a new file is synced automatically within hours of the release.
New file updates sync automatically
How syncing works