Oil Paint Filter is a customizable post-processing effect that turns your scene into a real-time oil painting: brush strokes that follow the shapes of your scene, a painter's limited palette, thick paint relief and glossy varnish highlights. It works with both the Built-In Render Pipeline and URP (Universal Render Pipeline), including full support for the Render Graph API introduced in newer URP versions.Based on the research paper "Image Stylization by Interactive Oil Paint Filtering" (Semmo et al., 2016), adapted to run every frame in a game.Features:- Brush strokes that bend along the edges of your models and terrain.- Anisotropic Kuwahara abstraction for flat, painterly dabs of color.- Painter's palette: color quantization in CIE-Lab space and smoothing along the strokes.- Paint relief (impasto), varnish highlights and an optional canvas weave, lit by an adjustable light.- Temporal Stability: keeps strokes from flickering when the camera moves.- 6 presets: Classic Oil, Impasto, Old Master, Impressionist, Gouache and Mobile.- Preset Manager to save and share your looks across scenes and pipelines.- Performance options: half/quarter resolution stylization and flow detection.- High resolution screenshot tool (up to 4x).- Sample scenes for Built-In and URP, documentation and full source code.Documentation: https://leadwortstudios.github.io/Website/oilpaint_intro.htmlTroubleshootingIf you get the following error when importing:Failed to find the Oil Paint Filter shader. This can happen transiently right after adding the component in Edit Mode; if it persists, try re-importing the asset.Then try re-importing the asset right clicking the asset folder -> Reimport.If you get a gray/black screen when enabling the asset then:Enter play mode, this should fix the error.If strokes flicker in motion:Raise Temporal Stability, enable MSAA and soft shadows, and use alpha clipping (cutout) instead of transparency for foliage.If any of these errors persist please contact us: leadwortstudios@gmail.com





