跳到內容

Luminance Blur Filter

根據另一個 Layer 的亮度值模糊一個 Layer。例如,來自一個 Shape 的 Gradient Shader 可用於驅動另一個 Shape 的模糊量。

Photo by Andrea Cau on Unsplash

Common Attributes +

Input Shape - 連接一個 Shape 以從中取樣亮度。

Maximum Blur - 設定亮度為 1(白色)時的模糊量。

Minimum Blur - 設定亮度為 0(黑色)時的模糊量。

Invert Luminance - 反轉 Input Shape 的亮度。

View Mode - 選擇渲染到 Viewport 的檢視:

  • Final Result - 顯示生成的模糊效果。
  • Luminance - 預覽亮度值。
  1. 建立一個 Rectangle(Rectangle 1)。
  2. 將其 Size 設定為 300,200
  3. Attribute Editor 中,點擊 Rectangle 1 的 Filters 屬性上的 + 按鈕,選擇 Luminance Blur
  4. 建立第二個 Rectangle(Rectangle 2)。
  5. 將其 Size 設定為 500,500
  6. 載入 Rectangle 2Fill 分頁,點擊 Button iconShader 並從清單中選擇 Gradient Shader
  7. 隱藏 Rectangle 2
  8. 連接 rectangle2.id→luminanceBlur.inputShape。
  9. 增加 Luminance BlurMaximum Blur

嘗試旋轉 Rectangle 2 或選擇 Gradient Shader 然後使用其 layer toolViewport 中調整漸變。


檢視其他模糊 Filters:

Background Blur Filter→ Bilateral Blur Filter→ Fast Blur Filter→ Box Blur Filter→ Directional Blur Filter→ Gaussian Blur Filter→ Zoom Blur Filter→