0 votes Vote

Whittaker Terrain Layers mixing up textures.

The Whittaker Terrain Layers are mixing or over-writing textures.

As shown very clearly in a set of pictures Here https://forum.unity.com/threads/released-mapmagic-2-infinite-procedural-land-generator.875470/page-27#post-7292620

When adding more than just a couple of graphs the layers get mixed up and the textures go awry. This is on unity 2020 With the 10.x HDRP pipeline path.

Adding Snow Plains as one of the graphs seems to sometimes clobber MULTIPLE id's It does have a few unique textures more than all the whittaker default ones. Maybe something in TerrainLayers? I am not sure what to add other than adding multiple textures eventually makes the textures "get corrupted"

There are no errors it just "goes wrong"

twobob, 04.07.2021, 20:28
Idea status: completed

Comments

Wraith, 07.07.2021, 00:37
This is a common thing if you are changing the graph in playmode. Is playmode turned off while modifying the graph?
twobob, 09.07.2021, 02:27
For what it's worth. the new update to threads fixed this problem. so it was in fact the other "TILES GETTING FLATTENED" bug causing this. The comment below is with regard to people actually /changing/ the graphs in the editor at runtime.
twobob, 09.07.2021, 02:26
no - this is runtime stupidity.

If people are going to do this. which they are. I'm just suggesting you popup a LogWarning("Changing graphs in the Whittaker diagram is NOT supported at runtime, you will experience errors")

or even just add that to the docs.


Thanks
Wraith, 24.07.2021, 13:32
I think I will add it to documents. Constantly tracking graph changes in playmode just to display a warning is an overkill
twobob, 24.07.2021, 14:56
Yeah I completely agree. This only happens during development anyway.

Leave a comment