You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You seem to be missing the line "seed = (randomizeSeed) ? Random.Range( -10000, 10000 ) : seed;" from the GenerateHeightMapGPU function which is in the CPU version, needed to add it to allow randomizing.
The thread count for height generation can be too large for older GFX cards so you have to cut it into chunks - you could test for 64k max maybe rather doing 2048*2048 for example
Also I wonder if the height map gen can be made the same for both GPU & CPU to truly test them side by side as CPU is using basic perlin noise, GPU simplex.
The text was updated successfully, but these errors were encountered:
Great code, only:
You seem to be missing the line "seed = (randomizeSeed) ? Random.Range( -10000, 10000 ) : seed;" from the GenerateHeightMapGPU function which is in the CPU version, needed to add it to allow randomizing.
The thread count for height generation can be too large for older GFX cards so you have to cut it into chunks - you could test for 64k max maybe rather doing 2048*2048 for example
Also I wonder if the height map gen can be made the same for both GPU & CPU to truly test them side by side as CPU is using basic perlin noise, GPU simplex.
The text was updated successfully, but these errors were encountered: