noise - HLSL

Generates Perlin noise values, which are noise values that change smoothly as you move from one point to another over a space.

Syntax

ret noise(x)

Where:

Name In/Out Template Type Component Type Size
x in vector float any
ret out scalar float 1

The output range is between -1 and 1.

Minimum Shader Version

This intrinsic function is only supported for a texture shader.

Vertex Shader Pixel Shader Texture Shader
n/a n/a tx_1_0

See Also

HLSL Intrinsic Functions