Skip to main content
Tweeted twitter.com/#!/StackGameDev/status/270195321567576065
deleted 34 characters in body; edited title
Source Link
House
  • 73.5k
  • 17
  • 188
  • 276

How to use the float value from Noisenoise function in voxel terrain?

ImI'm using Unity, although this question is not really specific to that engine.

Im also using an asset from the store called Coherent Noise. It has some neat noise functionality built it.

I am using those functions to produce some noise values. I am getting a value between 0 and 1 (floats).

I have an array of blocks (for minecraft like voxel terrain) and I am confused on how to use this float value for terrain?

Do I do something like <= 0 == Solid block etc etc?

I am confused on how to use the floating values that the noise functions produce to use for height values of an array of say a height of 16.

Thanks for any guidance.

How to use the float value from Noise function in voxel terrain?

Im using Unity, although this question is not really specific to that engine.

Im also using an asset from the store called Coherent Noise. It has some neat noise functionality built it.

I am using those functions to produce some noise values. I am getting a value between 0 and 1 (floats).

I have an array of blocks (for minecraft like voxel terrain) and I am confused on how to use this float value for terrain?

Do I do something like <= 0 == Solid block etc etc?

I am confused on how to use the floating values that the noise functions produce to use for height values of an array of say a height of 16.

Thanks for any guidance.

How to use the float value from noise function in voxel terrain?

I'm using Unity, although this question is not really specific to that engine.

Im also using an asset from the store called Coherent Noise. It has some neat noise functionality built it.

I am using those functions to produce some noise values. I am getting a value between 0 and 1 (floats).

I have an array of blocks (for minecraft like voxel terrain) and I am confused on how to use this float value for terrain?

Do I do something like <= 0 == Solid block etc?

I am confused on how to use the floating values that the noise functions produce to use for height values of an array of say a height of 16.

Source Link

How to use the float value from Noise function in voxel terrain?

Im using Unity, although this question is not really specific to that engine.

Im also using an asset from the store called Coherent Noise. It has some neat noise functionality built it.

I am using those functions to produce some noise values. I am getting a value between 0 and 1 (floats).

I have an array of blocks (for minecraft like voxel terrain) and I am confused on how to use this float value for terrain?

Do I do something like <= 0 == Solid block etc etc?

I am confused on how to use the floating values that the noise functions produce to use for height values of an array of say a height of 16.

Thanks for any guidance.