Wednesday, July 23, 2014

Sand Tiles

Now that we have some water tiles, we should create some sand tiles to go with them. That way, we can have a beach!

  • Create a new image, and fill it with yellowish brown.
  • Add a new layer, and set its blend mode to 'addition'. Fill it with height-16 diagonal noise, and apply a Gaussian blur of 16x8 pixels with RLE set.
  • Equalize your blurred noise, and adjust the levels so that the output range is 0 to 64. This first layer will give you some sand dunes.
  • Add a second new layer, and set its blend mode to 'addition'. Fill it with height-16 diagonal noise. Equalize it, and adjust the levels so that the output range is small (I used 0 to 16). This layer will give you some sandy grain.
  • (Optional)Reduce your colour depth so that your sand is only eight colours. (See here for details.)

The result is some golden dunes:

2 comments:

  1. Does the output always create south-east -facing dunes due to the nature of the noise function?

    ReplyDelete
    Replies
    1. No. The output can be diagonally up to the left, or up to the right, depending on the noise generated for the layer that gets Gaussian blurred.

      Delete