Skip to content

Custom noise generation tool with runtime API for Unity Engine

License

Notifications You must be signed in to change notification settings

matdudq/DudeiNoise

Repository files navigation

Dudei Noise

Unity 2019.3+ License: MIT

Table Of Contents

Introduction

Unity Dudei Noise Editor is an open-source tool for creating and defining custom noise textures.

Tool was created to:

  • simplify process of getting desired custom noises inside unity editor.
  • optimize caching more than one noise textures.
  • allow user to use noise library with easy to understand API.

Features

  • Separate window for Noise Editor, which consists of Noise texture chanel preview and editor itself.
  • Possibility to define noises with combined patterns and settings.
  • Possibility to define 1/2/3-dimentional noises.
  • Possibility to define noises of default, value, perlin and worley type.
  • Possibility to manipulate of noise space (position/rotation/frequency).
  • Possibility to define noise with custom octaves settings.
  • Possibility to add custom patterns like wood or turbulence.
  • Possibility to add falloff map to noise.
  • Possibility to save one noise map on each texture chanel.
  • Possibility to export texture to png file.
  • Library that allows us to generate noises runtime on single thread as well as multi-threaded with use of JOBS system.

System Requirements

Unity 2019.3 or newer.

Dependencies

Burst

Unity.Mathematics

Installation

1 The package is available in Unity Package Manager via git URL. Follow up this Unity page for detailed instructions. Git URL:

https://github.com/matdudq/DudeiNoise

2 You can also install Dudei Noise by simply downloading repository zip file and copying Assets folder content to your Unity project. 3 You can also download tool as sub-module repository.

Overview

Dudei Noise Window

Editor window can be opened by going to Tools->Noise Generator Window on the Unity toolbar. Noise texture preview for one individual chanel will also show when enabling editor. Windows can be manipulated separately. Mainly we will be working with generator editor which allows us to define our noise behaviour.

Texture Settings

In texture settings panel we can manipulate export folder resolution of texture as well as filter mode of exported texture.

Space Mode Toolbar

Space mode tool bar allows us to define if we want to have tilling texture with only option to manipulate frequency of texture or we wan to have texture with custom space.

Noise Type settings

Noise type options give you choice of noise type that you will be working on. You can choose default which is simple random, value or perlin noise. Except that you can define dimension of noise that you want to generate.

Frequency/Custom Space settings

Depends on mode that you have chosen here you will be able to manipulate space of noise. Moving rotating or scaling frequency of noise.

Octaves settings

Here you can manipulate all the layers of noise. To use that settings layer efficiently you should play with it a little bit.

Custom patterns

Custom patterns give us possibility to create really custom noises. Right now wood pattern and turbulence are implemented. To see what they do, you should also play with them.

Falloff settings

It is control panel of falloff mask which allows us to create blurred borders of noise - useful for example when use want to create some kind of islands based or noise.

Bottom panel

Switches that allows you to swap currently working chanel and save the texture.

License

MIT