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

better performance of mesh/lods #9

Open
lw64 opened this issue Feb 13, 2024 · 4 comments
Open

better performance of mesh/lods #9

lw64 opened this issue Feb 13, 2024 · 4 comments

Comments

@lw64
Copy link

lw64 commented Feb 13, 2024

I used the clipmesh of Terrain3D as a replacement for the quadtree based mesh thast there currently. It works way better and I got it running in the editor even.

@Tattomoosa
Copy link
Contributor

Terrain3D referring to https://github.com/TokisanGames/Terrain3D ? Does clipmesh refer to the GeoClipMap defined here? https://github.com/TokisanGames/Terrain3D/blob/main/src/geoclipmap.cpp?

@lw64
Copy link
Author

lw64 commented Feb 13, 2024

yes.

@lw64
Copy link
Author

lw64 commented Feb 13, 2024

basically I modified the ocean shader to work as a custom terrain shader and put it into the terrain3d node. then modified ocean.gd to change the shader parameters of the terrain3d node. Note that you need to add one dummy terrain material, so that not automatically the squares debug view gets enabled.

@tessarakkt
Copy link
Owner

I haven't had a chance to try this out myself, but I am very much interested in this idea. Do you have an example project you are willing to share? From what I understand, this would allow a combination of ocean and land within the same Terrain3D, correct?

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

No branches or pull requests

3 participants