This is simple to use script that allows you to make procedural height map texture. It's fast, on my mid-range laptop takes 300ms to generate. This is stored in surface.

Texture is not seamless

A texture like this can be used in 2D terrain generator top-down or side view ( in this case you want use only one row of this texture ) and 3D terrain generator. It could be used with tiles.

surface = huder_SmoothNoise(size, octaves, scale, persistent);


  • size -- Resolution of surface, size of generated texture
  • octaves -- Number of layers. Each layer is softer than previous (min 1)
  • scale -- Overall noise scale (min 1)
  • persistent -- This value determines roughness of generated texture. I recommends 0.5 for harsh and 1.75 for soft texture


  • Return index of created surface. Remember to free this surface if you no longer using generated texture.

End User Licence Agreement (EULA).

Age Rating: 4+


GMS1 - Version 1.0.1. Published February 27, 2016

Re-uploaded for GMS 1.4.1749

Loading, please wait

Package contents

Loading, please wait

What is the issue?

Loading, please wait

Back to Top