Miniature Camera - Tilt Shift Camera Effect
Asset description
Miniature Camera brings cinematic tilt-shift and depth-of-field to Unity 6 URP. Choose between a depth-based 3D DoF mode or a screen-space linear gradient for a classic photo tilt-shift look. Three blur engines (Gaussian, Kawase, Dual Kawase), four quality levels, bokeh shapes, render scale, and a physical camera mode using the Circle of Confusion formula. Auto Focus tracks depth via screen-center raycast with exponential smoothing. A Time Control feature adds game speed and frame-rate simulation for stop-motion and miniature aesthetics. Everything is controllable from the Inspector, the Scene View overlay, or at runtime through a clean scripting API. Five built-in presets included (Default, Portrait, Landscape, Miniature, Cinematic). Technical details : 2 blur modes: Depth-Based (3D DoF) and Linear Gradient (screen-space) 3 blur engines: Gaussian, Kawase, Dual Kawase 4 quality levels: Low, Medium, High, Ultra Bokeh shapes: Disabled, Circle (8-dir), Hexagonal (6-dir) Auto Focus via screen-center raycast with exponential smoothing Physical Camera: Circle of Confusion (f-stop, focal length, sensor height) Depth protection: bilateral rejection at depth discontinuities Render Scale: Full / Half / Quarter resolution blur pass Time Control: Time.timeScale + frame-rate simulation (4–30 FPS) 5 built-in ScriptableObject presets Full scripting API with auto-clamping Scene View overlay (UIToolkit) Debug mode: color overlay for focus zone visualization Profiler markers visible in Frame Debugger 1 shader (6 passes), 1 material, Shader Model 3.5+ Tested on Unity 6.3, 6.4, 6.5 — URP 17.x URP only, not compatible with HDRP or Built-in RP. Requires Render Graph API (Unity 6 default). Depth Texture must be enabled on your URP Renderer asset. Tested on Unity 6.3, 6.4, 6.5, URP 17.x. SM 3.5 minimum. All URP-supported platforms.