Jump to content

Terrain Layers don't work correctly.


beo6
 Share

Go to solution Solved by Josh,

Recommended Posts

To reproduce:

1. Add a new Layer.

2. Edit the default layer "dirt01" and change its material (by double clicking).

3. Painting the new second layer results in a white paint.

4. Painting with the first layer uses the old original texture. Not the edited one.

5. Add another new Layer. -> Now the Terrain actually updates to use the first painted layer

6. All new layers are still white though. (no idea what i am doing wrong. I compared it with the default layer and see nothing wrong).

---

Unrelated to the above:

The "Clear" Button only clears the smoothing between the layers. Not the solid part of the layer. (see screenshot).

Might be intended functionality, but then the "Clear" is pretty much useless since you need to paint over it anyway? Can't really tell much since my new layers are white anyway.

image.png.fa7db567d6d6f804cb81c25023cde792.png

Link to comment
Share on other sites

Currently, all textures in any materials used in the terrain need to be the texture resolution the terrain has specified upon creation. Normal maps must be in BC5 format. Displacement maps must be in Luminance 8 format. All other textures must be in BC7 format. This is done because the textures get merged together into an atlas, so the texture lookups in the shader are dynamically uniform. I plan to add automatic resizing and format conversion to make this easier.

  • Like 1

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

  • 5 months later...
  • Solution

This system was changed to use bindless textures instead of array textures, so the requirements I listed above no longer apply.

I believe this solves your issue, but if you have any other problems please create a new thread. Thanks!

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...