当前位置:首页 > Shader Forge全翻译
1.0.5
Ceil向上四舍五入到最近的整数
Outputs its input rounded up to the nearest integer
Round
Outputs its input rounded to the nearest integer 将其输入四舍五入输出为最接近的整数
29 / 74
1.0.5
Floor
Outputs its input rounded down to the nearest integer 输入向下取整到最近的整数输出。
Trunc移除输入的小数部分,四舍五入输出趋向0的最近整数
Outputs its input rounded to the nearest integer towards zero. Essentially; it removes the decimals, leaving an integer
30 / 74
1.0.5
Step (A <= B)
Outputs 1 if [A] is less than or equal to [B], otherwise outputs 0 如果[A]小于或等于[B]输出1,否则输出0.
If
I + LMB
Outputs the [A>B] input when [A] is greater than [B] Outputs the [A=B] input when [A] is equal to [B]
Outputs the [A
31 / 74
1.0.5
Frac移除整数部分,输出小数部分
Outputs the fractional part of its input. Essentially; it removes the integer part and keeps only the decimal part. An input of 4.32 would output 0.32. This node is particularly useful in conjuction with the Time node, which gives you a sawtooth wave over time
Fmod返回除法的浮点数余数
Outputs the remainder of [A] divided by [B]
Clamp钳制在最小与最大值之间
Outputs its main input value, no less than [Min] and no more than [Max]
32 / 74
共分享92篇相关文档