天天看點

Cocos Creator 圖檔白邊、灰邊問題

Cocos Creator 圖檔白邊、灰邊問題

  1. 在資源檔案夾裡找到這個圖檔,在屬性檢查器裡勾選Premultiply Alpha選項
    Cocos Creator 圖檔白邊、灰邊問題
  2. 在cocos creator編輯器的sprite 設定為圖集裡邊的圖,然後Blend/SrcBlendFactor設定為one:
    Cocos Creator 圖檔白邊、灰邊問題

繼續閱讀