【Unity】AmplifyShaderEditor  Mathノード一覧  【随時更新】

#AmplifyShaderEditorとは
 https://qiita.com/Sase/items/0febaf1f6204be65e90e
 http://wiki.amplify.pt/index.php?title=Unity_Products:Amplify_Shader_Editor/Manual

#Mathノード
 アルファベット順
###[Abs（絶対値の出力）](http://wiki.amplify.pt/index.php?title=Unity_Products:Amplify_Shader_Editor/Abs)
例： -0.7  は 0.7 、-1.0  は 1.0、1.0 は 1.0 
 ![Unity Products_Amplify Shader Editor_Nodes - Amplify Creations Wiki - Google Chrome 2018-09-13 15.23.28.png](https://qiita-image-store.s3.amazonaws.com/0/158441/c6e6741f-2fb7-0dd9-d6e5-78c1e9a87c5a.png)

###[Add (値の加算)](http://wiki.amplify.pt/index.php?title=Unity_Products:Amplify_Shader_Editor/Add)
　例： 0.2 と 0.4  は 0.6 、 (0.2,-0.4,0.6) と (0.1,0.5,1.0) は (0.3,0.1,1.6) 、 (0.2,-0.4,0.6) と 1.0  は (1.2,0.6,1.6) 
　![Unity Products_Amplify Shader Editor_Nodes - Amplify Creations Wiki - Google Chrome 2018-09-13 15.34.29.png](https://qiita-image-store.s3.amazonaws.com/0/158441/8e8a2135-516d-5958-9427-bebc28bc4a13.png)

###[Ceil (小数点以下切り上げ)](http://wiki.amplify.pt/index.php?title=Unity_Products:Amplify_Shader_Editor/Ceil)
　例　1.1 は 2 、-0.4 は 0
  ![Unity Products_Amplify Shader Editor_Nodes - Amplify Creations Wiki - Google Chrome 2018-09-13 15.35.39.png](https://qiita-image-store.s3.amazonaws.com/0/158441/5415087f-cf73-3c89-86d2-c06ff1a75138.png)

###[Clamp(最小値と最大値が定義された指定範囲に受け取った値を制限)](http://wiki.amplify.pt/index.php?title=Unity_Products:Amplify_Shader_Editor/Clamp)
 入力範囲を Min 0.0 と Maxx 1.0 で 0.3 をクランプすると、結果は 0.3 になり 、
 Min0.0 と Max1.0 で 1.3 をクランプすると結果は 1.0 になります
  ![Unity Products_Amplify Shader Editor_Nodes - Amplify Creations Wiki - Google Chrome 2018-09-13 15.44.11.png](https://qiita-image-store.s3.amazonaws.com/0/158441/2a7cbbfc-c6b2-9109-dcdc-109b0a9e09f5.png)

###[DDX](http://wiki.amplify.pt/index.php?title=Unity_Products:Amplify_Shader_Editor/DDX)
＊調査中＊
 ![Unity Products_Amplify Shader Editor_Nodes - Amplify Creations Wiki - Google Chrome 2018-09-13 15.47.32.png](https://qiita-image-store.s3.amazonaws.com/0/158441/c23006ba-3058-b453-6884-10e1413c5793.png)

###[DDY](http://wiki.amplify.pt/index.php?title=Unity_Products:Amplify_Shader_Editor/DDY)
 ＊調査中＊
 ![Unity Products_Amplify Shader Editor_Nodes - Amplify Creations Wiki - Google Chrome 2018-09-13 15.49.22.png](https://qiita-image-store.s3.amazonaws.com/0/158441/1a95e12d-8e31-a0ac-766a-e93c32b1a9d7.png)

###[Divide (値の除算 割り算)](http://wiki.amplify.pt/index.php?title=Unity_Products:Amplify_Shader_Editor/Divide)
例：A=(1.0) と B=(5.0) を持つ Divide を使うと (0.2) になる
![Unity Products_Amplify Shader Editor_Nodes - Amplify Creations Wiki - Google Chrome 2018-09-13 15.52.22.png](https://qiita-image-store.s3.amazonaws.com/0/158441/2e3df541-e9cb-21b7-266e-1a584233aeda.png)

###[Exp](http://wiki.amplify.pt/index.php?title=Unity_Products:Amplify_Shader_Editor/Exp)
＊調査中＊
![Unity Products_Amplify Shader Editor_Nodes - Amplify Creations Wiki - Google Chrome 2018-09-13 15.54.41.png](https://qiita-image-store.s3.amazonaws.com/0/158441/bd9f47cf-3599-b1e3-bd6a-dcd59700c369.png)

###[Exp2](http://wiki.amplify.pt/index.php?title=Unity_Products:Amplify_Shader_Editor/Exp2)
＊調査中＊
![Unity Products_Amplify Shader Editor_Nodes - Amplify Creations Wiki - Google Chrome 2018-09-13 15.55.40.png](https://qiita-image-store.s3.amazonaws.com/0/158441/d0116dfe-4161-5a84-0fbd-8a0ab24e59e7.png)

###[Floor (小数点以下切り下げ)](http://wiki.amplify.pt/index.php?title=Unity_Products:Amplify_Shader_Editor/Floor)
例： 0.2  は 0.0 、 (0.2,1.6)  は (0.0, 1.0) 
![Unity Products_Amplify Shader Editor_Nodes - Amplify Creations Wiki - Google Chrome 2018-09-13 15.56.20.png](https://qiita-image-store.s3.amazonaws.com/0/158441/83e4d1d3-ec04-0177-fa2f-a8757cc96c98.png)

###[Fmod (2 つの入力値を除算した後の浮動小数点値の余りを返す)](http://wiki.amplify.pt/index.php?title=Unity_Products:Amplify_Shader_Editor/Fmod)
![Unity Products_Amplify Shader Editor_Nodes - Amplify Creations Wiki - Google Chrome 2018-09-13 16.00.11.png](https://qiita-image-store.s3.amazonaws.com/0/158441/3d718ceb-61f2-ff8a-502b-46d1760985b2.png)

###[Fract (小数点以下のみ返します)](http://wiki.amplify.pt/index.php?title=Unity_Products:Amplify_Shader_Editor/Fract)
例： 0.2  は 0.2 、 5.5  は 0.5 
![Unity Products_Amplify Shader Editor_Nodes - Amplify Creations Wiki - Google Chrome 2018-09-13 16.05.51.png](https://qiita-image-store.s3.amazonaws.com/0/158441/ef4179f8-281f-f9c5-fdea-7cb477001367.png)

###[FWidth](http://wiki.amplify.pt/index.php?title=Unity_Products:Amplify_Shader_Editor/FWidth)
＊調査中＊
![Unity Products_Amplify Shader Editor_Nodes - Amplify Creations Wiki - Google Chrome 2018-09-13 16.09.23.png](https://qiita-image-store.s3.amazonaws.com/0/158441/f7f5ba98-2a43-35f0-3448-8651589d2cc9.png)

###[Lerp (Alphaによって2つの値AとBの間を線形補間)](http://wiki.amplify.pt/index.php?title=Unity_Products:Amplify_Shader_Editor/Lerp)
ブレンドノード的な感じ
![Unity Products_Amplify Shader Editor_Nodes - Amplify Creations Wiki - Google Chrome 2018-09-13 16.12.40.png](https://qiita-image-store.s3.amazonaws.com/0/158441/1b90df21-a3ab-1d8d-c7a9-08770507cdd9.png)

###[Log](http://wiki.amplify.pt/index.php?title=Unity_Products:Amplify_Shader_Editor/Log)
対数値に変換？
![Unity Products_Amplify Shader Editor_Nodes - Amplify Creations Wiki - Google Chrome 2018-09-13 16.21.48.png](https://qiita-image-store.s3.amazonaws.com/0/158441/c2cc0054-fdf5-7c5c-e178-96de87ac6d83.png)

###[Log10](http://wiki.amplify.pt/index.php?title=Unity_Products:Amplify_Shader_Editor/Log10)
底が１０の対数値に変換？
![Unity Products_Amplify Shader Editor_Nodes - Amplify Creations Wiki - Google Chrome 2018-09-13 16.27.00.png](https://qiita-image-store.s3.amazonaws.com/0/158441/102da7a8-8a70-27e4-b0bc-e60763fc033c.png)

###[Log2](http://wiki.amplify.pt/index.php?title=Unity_Products:Amplify_Shader_Editor/Log2)
底が2の対数値に変換？
![Unity Products_Amplify Shader Editor_Nodes - Amplify Creations Wiki - Google Chrome 2018-09-13 16.28.41.png](https://qiita-image-store.s3.amazonaws.com/0/158441/3c963115-dd31-37c5-0014-294305057490.png)

###[Max (高い方の値を優先的に出力)](http://wiki.amplify.pt/index.php?title=Unity_Products:Amplify_Shader_Editor/Max)
例： Aに(0,0.5,0)とＢに0.4を設定すると、(0.4 , 0.5 , 0.4)になる
![Unity Products_Amplify Shader Editor_Nodes - Amplify Creations Wiki - Google Chrome 2018-09-13 17.40.15.png](https://qiita-image-store.s3.amazonaws.com/0/158441/b9857f19-0a99-0be3-60d3-00757cdabd6f.png)

###[Min (低い方の値を優先的に出力)](http://wiki.amplify.pt/index.php?title=Unity_Products:Amplify_Shader_Editor/Min)
例： Aに(0,0.5,0)とＢに0.4を設定すると、(0 , 0.4 , 0)になる
![Unity Products_Amplify Shader Editor_Nodes - Amplify Creations Wiki - Google Chrome 2018-09-13 17.50.34.png](https://qiita-image-store.s3.amazonaws.com/0/158441/f7a405f4-449f-2580-fa49-009e0eaa68d6.png)

###[Multiply (値の乗算　掛け算)](http://wiki.amplify.pt/index.php?title=Unity_Products:Amplify_Shader_Editor/Multiply)
例： 0.4 と 0.5 は 0.2 、 (0.2、-0.4、0.6) と (0.0、2.0、1.0)  は (0.0、-0.8、0.6) 、 (0.2、-0.4、0.6) と 0.5は (0.1、-0.2、0.3) 
![Unity Products_Amplify Shader Editor_Nodes - Amplify Creations Wiki - Google Chrome 2018-09-13 17.53.27.png](https://qiita-image-store.s3.amazonaws.com/0/158441/667029aa-0a05-b3eb-4ec6-041df30e2da0.png)

###[Negate (値を反転した値に変換)](http://wiki.amplify.pt/index.php?title=Unity_Products:Amplify_Shader_Editor/Negate)
例　(0,-1,1)は(0,1,-1)
![Unity Products_Amplify Shader Editor_Nodes - Amplify Creations Wiki - Google Chrome 2018-09-13 18.05.52.png](https://qiita-image-store.s3.amazonaws.com/0/158441/579d7a11-0b1d-c2d2-79eb-9dab40ef39d3.png)

###[One Minus (（1 - 入力）の値を出力)](http://wiki.amplify.pt/index.php?title=Unity_Products:Amplify_Shader_Editor/One_Minus)
例： 0.4 は 0.6、 (0.2、0.5、1.0)は (0.8、0.5、0.0) 、 (0.0、-0.4、1.6)  は (1.0、1.4、-0.6) 
![Unity Products_Amplify Shader Editor_Nodes - Amplify Creations Wiki - Google Chrome 2018-09-13 18.06.35.png](https://qiita-image-store.s3.amazonaws.com/0/158441/d184658c-f665-ec93-823a-d74e6893ca85.png)

###[Power (2 つの入力値を受け取り、Base を Exp 乗の累乗をして結果を出力)](http://wiki.amplify.pt/index.php?title=Unity_Products:Amplify_Shader_Editor/Power)
例： Base0.5 の Exp2.0 乗は 0.25
![Unity Products_Amplify Shader Editor_Nodes - Amplify Creations Wiki - Google Chrome 2018-09-13 18.12.03.png](https://qiita-image-store.s3.amazonaws.com/0/158441/ec40dbb1-3223-339c-9eec-9ea992e4d802.png)

###[Remainder (2 つの入力値を除算した後の余りを返す)](http://wiki.amplify.pt/index.php?title=Unity_Products:Amplify_Shader_Editor/Remainder)
 Fmodと違って整数の値も返す？
![Unity Products_Amplify Shader Editor_Nodes - Amplify Creations Wiki - Google Chrome 2018-09-13 18.14.00.png](https://qiita-image-store.s3.amazonaws.com/0/158441/64f4a97a-7105-f7c1-41b8-4ccee5a07e56.png)

###[Remap (Old min - max範囲からNew min - max範囲への値の変換)](http://wiki.amplify.pt/index.php?title=Unity_Products:Amplify_Shader_Editor/Remap)
例　Old min（0） - max（1）　と　New min（-1） - max（0）　の場合　入力が0.5だったら、-0.5が出力
![Unity Products_Amplify Shader Editor_Nodes - Amplify Creations Wiki - Google Chrome 2018-09-13 18.24.30.png](https://qiita-image-store.s3.amazonaws.com/0/158441/b7ee6dab-d91e-6acd-ca2d-0bf40be677d4.png)

###[Round (四捨五入した値が出力)](http://wiki.amplify.pt/index.php?title=Unity_Products:Amplify_Shader_Editor/Round)
例：1.1 は 1　、1.5 は 2 
![Unity Products_Amplify Shader Editor_Nodes - Amplify Creations Wiki - Google Chrome 2018-09-13 18.26.50.png](https://qiita-image-store.s3.amazonaws.com/0/158441/ec201d17-9f35-fb7e-588b-4281b526c4d4.png)

###[Rsqrt (逆数平方根の値を出力)](http://wiki.amplify.pt/index.php?title=Unity_Products:Amplify_Shader_Editor/Rsqrt)
1/Sqrt( Input )
![Unity Products_Amplify Shader Editor_Nodes - Amplify Creations Wiki - Google Chrome 2018-09-13 18.27.42.png](https://qiita-image-store.s3.amazonaws.com/0/158441/cbe8ff0c-96bc-71a1-42d8-a77510afafef.png)

###[Saturate (１以上の値は１、０以下の値は、０)](http://wiki.amplify.pt/index.php?title=Unity_Products:Amplify_Shader_Editor/Saturate)
例：1.1 は 1　、-1.5 は 0、0.3は0.3
![Unity Products_Amplify Shader Editor_Nodes - Amplify Creations Wiki - Google Chrome 2018-09-13 18.32.40.png](https://qiita-image-store.s3.amazonaws.com/0/158441/7cd58955-1a1b-4aac-1ce7-4321b47d4d4b.png)

###[Scale (値の乗算　掛け算)](http://wiki.amplify.pt/index.php?title=Unity_Products:Amplify_Shader_Editor/Scale)
Multiplyと同じ、こっちだとプロパティにできない
![Unity Products_Amplify Shader Editor_Nodes - Amplify Creations Wiki - Google Chrome 2018-09-13 18.35.10.png](https://qiita-image-store.s3.amazonaws.com/0/158441/585779c3-254d-8b5d-aba0-e7e362229e91.png)

###[Scale And Offset (入力値をスケール、オフセットしたりできる)](http://wiki.amplify.pt/index.php?title=Unity_Products:Amplify_Shader_Editor/Scale_And_Offset)
( Value*Scale + Offset ).
![Unity Products_Amplify Shader Editor_Nodes - Amplify Creations Wiki - Google Chrome 2018-09-13 18.38.27.png](https://qiita-image-store.s3.amazonaws.com/0/158441/4885929c-107f-1140-67b0-f15ba03e8023.png)

###[Sign (入力値が正の場合１、負の場合ー１、０の場合０が出力)](http://wiki.amplify.pt/index.php?title=Unity_Products:Amplify_Shader_Editor/Sign)
![Unity Products_Amplify Shader Editor_Nodes - Amplify Creations Wiki - Google Chrome 2018-09-13 18.43.56.png](https://qiita-image-store.s3.amazonaws.com/0/158441/25622b11-4653-7291-8003-0c16a03b099f.png)

###[Simplified Fmod](http://wiki.amplify.pt/index.php?title=Unity_Products:Amplify_Shader_Editor/Simplified_Fmod)
x / yの浮動小数点　剰余? 公式のマニュアルが不十分の為　調査不足
![Unity Products_Amplify Shader Editor_Simplified Fmod - Amplify Creations Wiki - Google Chrome 2018-09-13 18.45.38.png](https://qiita-image-store.s3.amazonaws.com/0/158441/5a3bf2cb-cf94-f18c-c8fb-ef4d82879399.png)

###[Smoothstep (入力が[min、max]の範囲内にある場合、0と1の間の滑らかな値を返す)](http://wiki.amplify.pt/index.php?title=Unity_Products:Amplify_Shader_Editor/Smoothstep)
![Unity Products_Amplify Shader Editor_Nodes - Amplify Creations Wiki - Google Chrome 2018-09-13 18.49.37.png](https://qiita-image-store.s3.amazonaws.com/0/158441/c5078435-977f-9f99-3028-602cc0d31411.png)

###[Sqrt (平方根の値が出力)](http://wiki.amplify.pt/index.php?title=Unity_Products:Amplify_Shader_Editor/Sqrt)
![Unity Products_Amplify Shader Editor_Nodes - Amplify Creations Wiki - Google Chrome 2018-09-13 18.51.32.png](https://qiita-image-store.s3.amazonaws.com/0/158441/9b366042-4b79-73c7-69b8-46e8ad617121.png)

###[Step (B < Aだったら０を返し、B >= Aだったら１を返す)](http://wiki.amplify.pt/index.php?title=Unity_Products:Amplify_Shader_Editor/Step)
![Unity Products_Amplify Shader Editor_Nodes - Amplify Creations Wiki - Google Chrome 2018-09-13 18.55.23.png](https://qiita-image-store.s3.amazonaws.com/0/158441/da7cb642-9b07-9c20-387d-05a02f66343d.png)

###[Subtract (値の減算　引き算)](http://wiki.amplify.pt/index.php?title=Unity_Products:Amplify_Shader_Editor/Subtract)

例： 0.5 から 0.2 を減算すると 0.3 、 (0.2、-0.4、0.6) から (0.1、0.1、1.0) を減算すると、 (0.1、-0.5、-0.4) 、 (0.2、0.4、1.0) から 0.2 を減算すると (0.0、0.2、0.8) になります。
![Unity Products_Amplify Shader Editor_Nodes - Amplify Creations Wiki - Google Chrome 2018-09-13 18.57.41.png](https://qiita-image-store.s3.amazonaws.com/0/158441/7de6639f-23e5-d6a0-3407-1ee65eddc568.png)

###[Trunc (小数点以下の値は切り捨て)](http://wiki.amplify.pt/index.php?title=Unity_Products:Amplify_Shader_Editor/Trunc)

例：1.1 は1 、1.4 は 1 、2.5 は 2 、3.1 は 3 
![Unity Products_Amplify Shader Editor_Nodes - Amplify Creations Wiki - Google Chrome 2018-09-13 19.01.41.png](https://qiita-image-store.s3.amazonaws.com/0/158441/ed993005-bee4-c0e3-e27b-d58cb1bb9ea0.png)