FXAA make UI blur issue.

FXAA make UI blur issue.

UGUI text blur, due to Anti-aliasing filter

After Unity3d changed the camera setup. the UGUI text will be blur by Anit-ailasing (FXAA/SMAA).

the solution was simple, stop using the main camera to render UI,

you will got another problem, but we can override from camera’s debug mode.

Solution

To solve this, you will need to do the following step.

  1. Create another camera for your UIs. if you already using the second camera for your UI’s remove it from main camera’s “stack”
  2. Switch the “UI Camera” into debug mode, set “Clear Flags” to option “Don’t Clear” (ref screenshot)
  3. make sure the Depth are higher then “main camera”, therefor the “UI Camera” will render after te main camera complete render.
  4. make sure the “UI Camera” was setted to “Base Camera”, don’t use the new type “Overlay”.

發佈留言

發佈留言必須填寫的電子郵件地址不會公開。 必填欄位標示為 *

*

這個網站採用 Akismet 服務減少垃圾留言。進一步了解 Akismet 如何處理網站訪客的留言資料