3D Pixel Art
HLSL / C# / Unity
Overview
Personal project inspired by the work of @T3ssel8r and @Starbi.
​
A custom stylized render pipeline built in Unity to recreate hand drawn pixel art in real-time via custom shaders and deferred rendering of 3D scenes.
Breakdown Reel (Pixel-Perfect Outlines, SSR Water, Sub-pixel perfect camera)
Features
-
Smooth Sub-pixel Perfect Camera
-
Developed an orthographic, sub-pixel perfect camera that allows for smooth rendering of low resolution scenes without pixel swimming
-
Also, the camera has smooth, damped quaternion rotations that minimize pixel swimming/artifacts​​
-
-
Pixel Perfect Outlines
-
Implemented pixel-perfect object outlines via custom depth, normal and Object-ID buffers​
-
-
Water
-
Implemented stylized water with Screen Space Reflections (SSR), refractions and ​pixel-perfect foamy outlines.
-
A custom oblique orthographic light probe is used to achieve SSR​
-
-
-
Sprite Grass Terrain Instancing Tool
-
​Built a frustum-culled, billboarded and animated grass terrain instancing tool
-
Variable density, animation cycles, wind effects, coloring and more
-
-
Toon Shaders with dynamic light support
-
Wrote a custom toon shader that supports dynamic lighting, multiple-light shadows and day-night cycles. Customizable highlight, midtone and shadow color.
-