noise - HLSL
Microsoft DirectX 9.0 SDK Update (October 2004)

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:

NameIn/OutTemplate TypeComponent TypeSize
xinvectorfloatany
retoutscalarfloat1

The output range is between -1 and 1.

Minimum Shader Version

This intrinsic function is only supported for a texture shader.

Vertex ShaderPixel ShaderTexture Shader
n/an/atx_1_0


© 2004 Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center.