the dswKnurl shader wraps a sinusoidal displacement on a surface.
This example shows how dswKnurl works on some object surfaces. The first column shows the objects without displacement. The second column shows the objects with dswKnurl calculating the displacement along the s axis. The third column shows the objects with dswKnurl calculating the displacement along the t axis.
Parameter |
Data Type |
Usage |
Example |
---|---|---|---|
freq |
float |
Frequency of the knurl |
freq = 10 |
depth |
float |
The maximum displacement |
depth = 0.05 |
sORt |
0 or 1 |
Selects direction of knurl
|
sORt = 0 |
View the dswKnurl.sl shader source
Download the dswKnurl package for Presenter 3D
|
|
|
|
|
|
|