This site is currently in read-only mode during migration to a new platform.
You cannot post questions, answers or comments, as they would be lost during the migration otherwise.
0 votes

Hell.

I'm using Zylann's terrain add-on to generate terrains in-game based on real world regions. The generation is for now going pretty well, but I have met a big issue with the plane I wanted to use as an "ocean" mesh : it just glitches as hell when I zoom out or zoom in from the map, in the editor.

Indeed the issue apparently disappears when I launch the game ; but I'd like if possible to be able to play with the scene without having my eyes melting because of this glitch.
The mesh material not related since the issue is still here.

Here's a video on the thing: https://streamable.com/z2259k

Thanks in advance.

Godot version 3.4.4
in Engine by (35 points)

3 Answers

0 votes

The plane's y axis is the same as the terrain. Try changing the plane's y axis value to something small like, 0.1.

by (447 points)

I can guarantee you it's not. My water is located at +40 in Y position, my terrain is at 0 (and the engine forces it to stay here).

0 votes

Still waiting for the correct answer..

by (35 points)
0 votes

This does look like z-Fighting though. Are you using a CSGShape node for the ocean? Try disabling gizmos (CSG in particular) in the 3D "View" options.

by (1,519 points)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.