close
  • 濾鏡lut
    1. add canvas
    2. add retangle
    3. rename retangle
    4. width、height調整為fill width、fill height
    5. create new materials
    6. rename material
    7. add texture 選擇圖片
    8. shader type選擇flat
    9. 點選texture (material-shader properties-diffuse-texture)左邊箭頭,會出現黃色patch在Editor map上
    10. texture欄位-> manual compression勾選no compression、sampling-> filtering選擇none
    11. 點camera,create new texture
    12. add asset->import->from computer->FastColorLUT
    13. 將texture圖片、FastColorLUT、cameraTexture0拉進Patch Editor
    14. 連接
      1. cameraTexture0的RGBA--FastColorLUT的Texture
      2. 圖片--FastColorLUT的LUT
      3. FastColorLUT的Color--diffuse texture(黃色)
  • 側邊調節拉桿
    1. 同上述1-13步驟
    2. 在patch editor add slider UImultiply
    3. Slider UI勾選visible
    4. 連接​​​​​​​
      1. cameraTexture0的RGBA--FastColorLUT的Texture
      2. 圖片--FastColorLUT的LUT
      3. FastColorLUT的Color--Multiply的First Value
      4. Slider UI的Slider Value--Multiply的Second Value
      5. Multiply的Output--diffuse texture(黃色)
    5. ​​​​​​​可調整start value(0~1)

截圖 2021-06-14 下午4.38.43.png

  • screen tap
  • picker
    1. ​​​​​​​​​​​​​​在patch editor add Picker UIEquals Exactly,選單有幾個、equals exactly就要加幾個
    2. 在texture資料夾add做為選單的圖片
    3. texture欄位-> manual compression勾選no compression、sampling-> filtering選擇none
    4. 將圖片拉進Patch Editor
    5. 點選retangle-visible左邊箭頭,會出現黃色patch在Editor map上
    6. 連接
      1. ​​​​​​​圖篇依序--PickerUI的texture1.2.3...
      2. Picker UI的Selected Option Index--Equals Exactly的First Number
      3. 更改每個Equals Exactly的Second Number,第一個填0、第二個填1、第三個填2⋯⋯以此類推
      4. ​​​​​​​Equals Exactly的Exactly Equal--visible
  • 可移動
文章標籤
spark ar instagram限時動態
全站熱搜
創作者介紹
創作者 魔法喵喵 的頭像
魔法喵喵

魔法喵喵の貓窩

魔法喵喵 發表在 痞客邦 留言(0) 人氣()