UPixelator - Pixelize 3d Scenes
Unity Pixelator - Pixelize 3d scenes to make pixel art style worlds without custom shaders. It solves pixel creep flickering with subpixel offset for orthographic camera.
UPixelator asset provides the basis for creating pixel art style games with 3d models.
It is a shaderless solution for pixelating 3d scenes with pixel creep reduction for orthographic camera.
Render pipelines
- Built-in ✓
- URP ✓
Tested builds
Unity 2021.3 (Builtin, URP 12): Windows, WebGL
Unity 2022.3 (Builtin, URP 14): Windows, WebGL
Available modules
- Pixel Art Edge Highlights
- Campfire (3d Pixel Art) (Included)
Shaderless
Requires no special shaders so you can keep your existing materials.
Pixelation
Achieved by rendering to a lower resolution render texture and upscaling to fit the screen.
A second camera then renders those pixelated camera outputs and doubles as a UI camera.
Pixel Creep reduction
Camera and tagged objects are snapped to a grid of world space pixel size resulting in the same pixel colors being rendered while moving.
Subpixel stabilization
Snapping to pixel size grid makes the camera shake so subpixel offset is applied in the game resolution based on the snap position difference.
Camera projections
This asset is intended to be used with orthographic camera, even though it will pixelize a perspective camera.
Please note that only the orthographic camera has the benefit of pixel creep reduction.
Please note
- Rotation will always have some pixel creep but it's less noticeable with higher rotation speed
- Zig-zag will occur for all snapped moving objects, but is less noticeable with higher movement speed
- Large screen space effects are not supported but repeating patterns like 2,4,8,16 pixels wide are