Jump to content

Terrain mesh layer


Alienhead
 Share

Go to solution Solved by Josh,

Recommended Posts

Make sure you have the current shaders.

If the problem persists please upload the model that causes this.

My job is to make tools you love, with the features you want, and performance you can't live without.

Link to comment
Share on other sites

In Shaders/MeshLayer/Vertex.glsl, line 57 should look like this:
center.y = textureLod(elevationmap, texcoord, 0).r * terrainscale.y;

If it looks like this the object will flicker:
center.y += textureLod(elevationmap, texcoord, 0).r * terrainscale.y;

My job is to make tools you love, with the features you want, and performance you can't live without.

Link to comment
Share on other sites

1. Make sure your shaders are up to date.
2. Change the seed value for the mesh layer, then change it back. This will force re-building of the noise data.

My job is to make tools you love, with the features you want, and performance you can't live without.

Link to comment
Share on other sites

1791124296_Editor2024-05-1918-14-52-57.thumb.gif.2f8fe3fe8bca7dbe5b9c03aa1dd2c3d4.gif

This is me changing the seed values.. I always look for Sync after i do updates so Im never worried about shaders or exe syncs not being right.

  • Confused 1

I'm only happy when I'm coding, I'm only coding when I'm happy.

Link to comment
Share on other sites

  • Solution

Uh-oh. I was working on some math stuff to make the rotate-to-normal option work, and I did not update that quaternion shader code file.

The fix is uploaded now.

  • Like 2

My job is to make tools you love, with the features you want, and performance you can't live without.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...