Directional Scratches
方向に沿った傷を調整して生成し、細部用の法線も出力します。
パラメータ
| パラメータ | 型 | 既定値 | 範囲 | 説明 |
|---|---|---|---|---|
amountAmount | int | 2000 | 1 ~ 100000 | タイル内の傷の数です。 |
lengthLength | float | 0.3 | 0.005 ~ 0.75 | 出力の短辺に対する、代表的な傷の長さです。 |
length_variationLength Variation | float | 0.25 | 0 ~ 1 | Lengthを中心に一様サンプリングする半径です。範囲外の部分はクランプせず、除外します。 |
widthWidth | float | 0.5 | 0 ~ 1 | 傷の幅です。0は見える最小限の細線、1は256pxテクスチャ上の1ピクセルに相当し、解像度に合わせて拡大縮小されます。 |
width_variationWidth Variation | float | 0.55 | 0 ~ 1 | Widthを中心に一様サンプリングする半径です。範囲外の部分はクランプせず、除外します。 |
intensityIntensity | float | 1 | 0 ~ 1 | 基礎となる細長い放射状グラデーションの不透明度です。 |
intensity_variationIntensity Variation | float | 0.3 | 0 ~ 1 | Intensityを中心に一様サンプリングする半径です。範囲外の部分はクランプせず、除外します。 |
rotationRotation | float | 0 | 0 ~ 1 | 傷の主方向を回転数で指定します。 |
rotation_variationRotation Variation | float | 0.12 | 0 ~ 1 | ランダムな回転の幅を回転数で指定します。1で、向きの区別のない傷の全方向を網羅します。 |
curveCurve | float | 0 | -1 ~ 1 | 曲げる前の両端の位置を正確に保ちながら、各傷を滑らかに湾曲させます。正負で曲がる方向が逆になります。 |
curve_variationCurve Variation | float | 0.12 | 0 ~ 1 | Curveを中心に一様サンプリングする半径です。範囲外の部分はクランプせず、除外します。 |
disorderDisorder | float | 0 | 0 ~ 1 | 傷をループ可能な軌道に沿って移動します。 |
disorder_speedDisorder Speed | float | 1 | 0 ~ 2 | Gaussian Spotsの動きのモデルを使用し、Disorderによる変位を拡大縮小します。 |
disorder_anisotropyDisorder Anisotropy | float | 0 | 0 ~ 1 | 位相をランダムにした周回軌道から、方向性のある軌道へ変形します。 |
disorder_anisotropy_angleDisorder Anisotropy Angle | float | 0 | 0 ~ 1 | 異方性の軌道の移動方向を回転数で指定します。傷のRotationには影響しません。 |
normal_strengthNormal Strength | float | 0.1 | 0 ~ 1 | Intensityで法線を平坦方向へ混合する前の、傷の壁面の傾斜です。 |
normal_formatNormal Format | enum | match_graph | 法線マップの形式です。Match Graph、OpenGL(Y-up)、DirectX(Y-down)から選択します。
|
出力
mask(既定の形式:r32float)normal(既定の形式:r32float)