Jump to content

Terrain mesh layer


Go to solution Solved by Josh,

Recommended Posts

Posted

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;

Let's build cool stuff and have fun. :)

Posted

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.

Let's build cool stuff and have fun. :)

  • Solution
Posted

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

Let's build cool stuff and have fun. :)

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.

×
×
  • Create New...