ComfyUI Node
OCSNoise PerlinAdvanced
Advanced Perlin noise generator, allows generating 2D or 3D Perlin noise. See the OCSNoise PerlinSimple node for less tuneable parameters.
OCSNoise PerlinAdvanced
- ocs_noise_opt
- OCS_NOISE
◄factor1.000►
◄rescale0.000►
◄depth16►
◄detail_level0.00►
◄octaves2►
◄persistence1.0►
◄lacunarity_height2►
◄lacunarity_width2►
◄lacunarity_depth2►
◄res_height1►
◄res_width1►
◄res_depth1►
◄break_pattern1.00►
◄initial_depth0►
◄wrap_depth0►
◄max_depth-1►
◄tileable_heightfalse►
◄tileable_widthfalse►
◄tileable_depthfalse►
◄blendlerp►
◄pattern_break_blendlerp►
◄depth_over_channelsfalse►
◄pad_height0►
◄pad_width0►
◄pad_depth0►
◄initial_amplitude1.00►
◄initial_frequency_height1.00►
◄initial_frequency_width1.00►
◄initial_frequency_depth1.00►
◄normalize▾►
◄devicedefault►
CategoryOveryComplicatedSampling/noise
Inputs (32)
| Name | Type | Default | Description |
|---|---|---|---|
| factor | FLOAT | 1.000-100–100 | Scaling factor for the generated noise of this type. |
| rescale | FLOAT | 0.0000–100 | When non-zero, this custom noise item and other custom noise items items connected to it will have their factor scaled to add up to the specified rescale value. |
| depth | INT | 16 | When non-zero, 3D perlin noise will be generated. |
| detail_level | FLOAT | 0.00-10000–10000 | Controls the detail level of the noise when break_pattern is non-zero. No effect when using 100% raw Perlin noise. |
| octaves | INT | 2 | Generally controls the detail level of the noise. Each octave involves generating a layer of noise so there is a performance cost to increasing octaves. |
| persistence | STRING | 1.0 | Controls how rough the generated noise is. Lower values will result in smoother noise, higher values will look more like Gaussian noise. Comma-separated list, multiple items will apply to octaves in sequence. |
| lacunarity_height | STRING | 2 | Lacunarity controls the frequency multiplier between successive octaves. Only has an effect when octaves is greater than one. Comma-separated list, multiple items will apply to octaves in sequence. |
| lacunarity_width | STRING | 2 | Lacunarity controls the frequency multiplier between successive octaves. Only has an effect when octaves is greater than one. Comma-separated list, multiple items will apply to octaves in sequence. |
| lacunarity_depth | STRING | 2 | Lacunarity controls the frequency multiplier between successive octaves. Only has an effect when depth is non-zero and octaves is greater than one. Comma-separated list, multiple items will apply to octaves in sequence. |
| res_height | STRING | 1 | Number of periods of noise to generate along an axis. Comma-separated list, multiple items will apply to octaves in sequence. |
| res_width | STRING | 1 | Number of periods of noise to generate along an axis. Comma-separated list, multiple items will apply to octaves in sequence. |
| res_depth | STRING | 1 | Number of periods of noise to generate along an axis. Only has an effect when depth is non-zero. Comma-separated list, multiple items will apply to octaves in sequence. |
| break_pattern | FLOAT | 1.00-10000–10000 | Applies a function to break the Perlin pattern, making it more like normal noise. The value is the blend strength, where 1.0 indicates 100% pattern broken noise and 0.5 indicates 50% raw noise and 50% pattern broken noise. Generally should be at least 0.9 unless you want to generate colorful blobs. |
| initial_depth | INT | 0 | First zero-based depth index the noise generator will return. Only has an effect when depth is non-zero. |
| wrap_depth | INT | 0 | If non-zero, instead of generating a new chunk of noise when the last slice is used will instead jump back to the specified zero-based depth index. Only has an effect when depth is non-zero. |
| max_depth | INT | -1 | Basically crops the depth dimension to the specified value (inclusive). Negative values start from the end, the default of -1 does no cropping. Only has an effect when depth is non-zero. |
| tileable_height | BOOLEAN | false | Makes the specified dimension tileable. |
| tileable_width | BOOLEAN | false | Makes the specified dimension tileable. |
| tileable_depth | BOOLEAN | false | Makes the specified dimension tileable. Only has an effect when depth is non-zero. |
| blend | COMBO | lerp | Blending function used when generating Perlin noise. When set to values other than LERP may not work at all or may not actually generate Perlin noise. |
| pattern_break_blend | COMBO | lerp | Blending function used to blend pattern broken noise with raw noise. |
| depth_over_channels | BOOLEAN | false | When disabled, each channel will have its own separate 3D noise pattern. When enabled, depth is multiplied by the number of channels and each channel is a slice of depth. Only has an effect when depth is non-zero. |
| pad_height | INT | 0 | Pads the specified dimension by the size. Equal padding will be added on both sides and cropped out after generation. |
| pad_width | INT | 0 | Pads the specified dimension by the size. Equal padding will be added on both sides and cropped out after generation. |
| pad_depth | INT | 0 | Pads the specified dimension by the size. Equal padding will be added on both sides and cropped out after generation. Only has an effect when depth is non-zero. |
| initial_amplitude | FLOAT | 1.00-10000–10000 | Controls the amplitude for the first octave. |
| initial_frequency_height | FLOAT | 1.00-10000–10000 | Controls the frequency for the first octave for the this axis. |
| initial_frequency_width | FLOAT | 1.00-10000–10000 | Controls the frequency for the first octave for the this axis. |
| initial_frequency_depth | FLOAT | 1.00-10000–10000 | Controls the frequency for the first octave for the this axis. |
| normalize | COMBO | Controls whether the output noise is normalized after generation. | |
| device | COMBO | default | Controls what device is used to generate the noise. GPU noise may be slightly faster but you will get different results on different GPUs. |
| ocs_noise_optopt | OCS_NOISE,SONAR_CUSTOM_NOISE | Optional input for more custom noise items. The following input types are supported: OCS_NOISE, SONAR_CUSTOM_NOISE |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| OCS_NOISE | OCS_NOISE | A custom noise chain. |