SMAA
A highly customizable implementation of Subpixel Morphological Antialiasing for Unity
Install / Use
/learn @Chman/SMAAREADME
SMAA for Unity3D
This is a highly customizable implementation of Subpixel Morphological Antialiasing for Unity3D.
Tested with Unity 5+ (Personal or Pro). Works with the deferred & forward rendering paths, in gamma or linear color space, with Directx 9, Directx 11 and OpenGL targets.
It comes with a few quality presets but you can easily build your own in the inspector. Every inspector setting comes with a help popup so you shouldn't have to dig into the (documented) source code.
Right now it implements SMAA 1x (+ predication). Implementing Temporal SMAA (T2x) should be doable, but the spatial (S2x) and spatial + temporal (4x) variants aren't possible in Unity right now.
Comparison screenshots with FXAA and Supersampling.
Instructions
Drop the SMAA folder in your project and add the SMAA script to your camera (or select your camera and use Component -> Image Effects -> Subpixel Morphological Antialiasing). The effect should be the first in the post-processing chain (before Bloom, Tonemapping, DoF etc) or it will miss some edges, especially when working in HDR.
To infinity and beyond
An updated version of this effect is available in Unity's official Cinematic Image Effects repository (Unity 5.3+ only).
License
Zlib (see License.txt)
Related Skills
node-connect
345.9kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
106.4kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
345.9kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
345.9kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
