Go to: Attributes.
The Ocean texture can be used to simulate a range of water
wave patterns, from small scale waves in a bathtub to large stormy
sea swells. It is designed to be used as a displacement map. It is
recommended to turn off feature based displacement on objects
(assigned the shader) before applying as a displacment. This sets
up a bump node in addition to the displacement, allowing one to
keep the number of triangles low. The time parameter must be
animated to see wave motion. This texture is procedurally defined
internally using Perlin noise and sin waves that are driven by the
time parameter.
Aside from the attributes listed here, Ocean inherits many other
attributes from its parent node, Texture2d. In the table below, important
attributes are shown in bold in the description column.
This node is MP safe
Node name |
Parents |
Classification |
MFn type |
Compatible function sets |
ocean |
texture2d |
texture/2d |
kOcean |
kBase
kNamedObject
kDependencyNode
kTexture2d
kOcean |
Attributes (26)
colorMode, foamEmission, foamThreshold, numFrequencies, observerSpeed, outFoam, scale,
time, waveDirSpread, waveHeight, waveHeight_FloatValue, waveHeight_Interp, waveHeight_Position, waveLengthMax, waveLengthMin, wavePeaking, wavePeaking_FloatValue, wavePeaking_Interp, wavePeaking_Position, waveTurbulence, waveTurbulence_FloatValue,
waveTurbulence_Interp,
waveTurbulence_Position,
windU, windUV,
windV
Long name (short name) |
Type |
Default |
Flags |
|
time
(ti ) |
float |
0.0 |
     |
|
scale
(sc ) |
float |
10.0 |
     |
|
windUV
(wi ) |
float2 |
1.0, 0.0 |
    |
|
|
|
observerSpeed
(os ) |
float |
0.0 |
     |
|
waveDirSpread
(wd ) |
float |
0.2 |
     |
|
numFrequencies
(nf ) |
float |
3.0 |
     |
|
waveLengthMin
(wlm ) |
float |
0.3 |
     |
|
waveLengthMax
(wlx ) |
float |
4.0 |
     |
|
waveHeight
(wh ) |
compound |
n/a |
      |
|
waveHeight_Position
(whp ) |
float |
0.0 |
     |
|
|
waveHeight_FloatValue
(whfv ) |
float |
0.0 |
     |
|
|
waveHeight_Interp
(whi ) |
enum |
0 |
     |
|
|
waveTurbulence
(wtb ) |
compound |
n/a |
      |
|
waveTurbulence_Position
(wtbp ) |
float |
0.0 |
     |
|
|
waveTurbulence_FloatValue
(wtbfv ) |
float |
0.0 |
     |
|
|
waveTurbulence_Interp
(wtbi ) |
enum |
0 |
     |
|
|
wavePeaking
(wp ) |
compound |
n/a |
      |
|
wavePeaking_Position
(wpp ) |
float |
0.0 |
     |
|
|
wavePeaking_FloatValue
(wpfv ) |
float |
0.0 |
     |
|
|
wavePeaking_Interp
(wpi ) |
enum |
0 |
     |
|
|
foamEmission
(fme ) |
float |
0.0 |
     |
|
foamThreshold
(fmt ) |
float |
0.51 |
     |
|
colorMode
(cmd ) |
enum |
0 |
    |
|
outFoam
(ofm ) |
float |
0.0 |
  |