Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve terrain generation #130

Open
BarthPaleologue opened this issue Jul 25, 2024 · 4 comments
Open

Improve terrain generation #130

BarthPaleologue opened this issue Jul 25, 2024 · 4 comments
Labels
enhancement New feature or request

Comments

@BarthPaleologue
Copy link
Owner

With WebGPU compute shaders, all terrain generation code will be rewritten, which is the perfect occasion to improve its quality.

Here are some ideas that could be used:

@BarthPaleologue BarthPaleologue added the enhancement New feature or request label Jul 25, 2024
@BarthPaleologue BarthPaleologue added this to the 2.0 - WebGPU Only milestone Jul 25, 2024
@BarthPaleologue
Copy link
Owner Author

The analytic normal will be abandonned in favor of erosion by gradient division.

This will also make it easier with craters (3d worley)

Domain warping can bé used for biome blending.

@BarthPaleologue
Copy link
Owner Author

This one is crazy good for lod transitions https://youtu.be/N3mKIasLeTY

@BarthPaleologue
Copy link
Owner Author

Another erosion noise but in 3D with derivatives! https://www.shadertoy.com/view/ddGcz1

@BarthPaleologue
Copy link
Owner Author

BarthPaleologue commented Oct 21, 2024

Example of crater noise: https://www.shadertoy.com/view/llSGRw

And possibly some inexpensive variant https://www.shadertoy.com/view/4tK3zR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant