Class reference

ImageTexture3D

Inherits Texture3D

Texture with 3 dimensions.

Description

ImageTexture3D is a 3-dimensional ImageTexture that has a width, height, and depth. See also ImageTextureLayered. 3D textures are typically used to store density maps for FogMaterial, color correction LUTs for Environment, vector fields for GPUParticlesAttractorVectorField3D and collision maps for GPUParticlesCollisionSDF3D. 3D textures can also be used in custom shaders.

Methods

void update(Image[] data)

Replaces the texture's existing data with the layers specified in data. The size of data must match the parameters that were used for create(). In other words, the texture cannot be resized or have its format changed by calling update().

Source revision 4f5b14abade2
Connection interrupted. Reload×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.