Up to date

This page is up to date for Godot 4.2. If you still find outdated information, please open an issue.

NoiseTexture3D

Inherits: Texture3D < Texture < Resource < RefCounted < Object

A 3D texture filled with noise generated by a Noise object.

Description

Uses the FastNoiseLite library or other noise generators to fill the texture data of your desired size.

The class uses Threads to generate the texture data internally, so Texture3D.get_data may return null if the generation process has not completed yet. In that case, you need to wait for the texture to be generated before accessing the image:

var texture = NoiseTexture3D.new()
texture.noise = FastNoiseLite.new()
await texture.changed
var data = texture.get_data()

Properties

Gradient

color_ramp

int

depth

64

int

height

64

bool

invert

false

Noise

noise

bool

normalize

true

bool

seamless

false

float

seamless_blend_skirt

0.1

int

width

64


Property Descriptions