Go to:
Related nodes. Attributes.
The Water texture is a parametric texture used to produce
water effects. If used as a bump or displacement map, the result
resembles water waves or ripples. Water waves consist of linear
sine waves , whereas water ripples consist of concentric rings
originating from a drop. You can control the number, size, and
speed of both the linear waves and the concentric ripples.
Aside from the attributes listed here, Water inherits many other
attributes from its parent node, Texture2d.
In the table below, important attributes have their names listed
in bold in the description column.
/
Node name | Parents | Classification | MFn type | Compatible function sets |
---|
water | texture2d | texture/2d:drawdb/shader/texture/2d/water | kWater | kBase kNamedObject kDependencyNode kTexture2d kWater |
Related nodes
layeredTexture, envCube, envSphere, envSky, envBall, envChrome, bump3d, uvChooser, bump2d, texture2d, ramp, file, cloth, stencil, checker, fractal, bulge, grid, mountain, texture3d, projection, cloud, granite, crater, leather, stucco, brownian, solidFractal, marble, wood, rock, snow, defaultTextureList, place2dTexture, place3dTexture
Attributes (29)
boxMax, boxMaxU, boxMaxV, boxMin, boxMinU, boxMinV, dropSize, fast, groupVelocity, numberOfWaves, phaseVelocity, reflectionBox, rippleAmplitude, rippleFrequency, rippleOrigin, rippleOriginU, rippleOriginV, rippleTime, smoothness, spreadRate, spreadStart, subWaveFrequency, waveAmplitude, waveFrequency, waveTime, waveVelocity, windU, windUV, windV
Long name (short name) | Type | Default | Flags |
---|
|
boxMax
(bmx )
| float2 | 1.0, 1.0 | |
|
|
|
|
boxMin
(bmn )
| float2 | 0.0, 0.0 | |
|
|
|
|
dropSize
(ds )
| float | 0.3 | |
|
|
fast
(fa )
| bool | true | |
|
|
groupVelocity
(gv )
| float | 1.0 | |
|
|
numberOfWaves
(nw )
| short | 8 | |
|
|
phaseVelocity
(pv )
| float | 2.5 | |
|
|
reflectionBox
(rb )
| bool | false | |
|
|
rippleAmplitude
(ra )
| float | 0.05 | |
|
|
rippleFrequency
(rf )
| float | 25.0 | |
|
|
rippleOrigin
(rc )
| float2 | 0.5, 0.5 | |
|
| rippleOriginU
(rcu )
| float | 0.0 | | |
|
| rippleOriginV
(rcv )
| float | 0.0 | | |
|
|
rippleTime
(rt )
| float | 0.0 | |
|
|
smoothness
(s )
| float | 2.0 | |
|
|
spreadRate
(sr )
| float | 0.3 | |
|
|
spreadStart
(ss )
| float | 0.005 | |
|
|
subWaveFrequency
(swf )
| float | 0.125 | |
|
|
waveAmplitude
(wa )
| float | 0.05 | |
|
|
waveFrequency
(wf )
| float | 4.0 | |
|
|
waveTime
(wt )
| float | 0.0 | |
|
|
waveVelocity
(wv )
| float | 1.0 | |
|
|
windUV
(wi )
| float2 | 1.0, 0.0 | |
|
|
|