9D-Tony / UnitySmoothPixelFiltering

A unity shader for smooth pixel filtering, based on CptPotato's smooth filtering

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unity Smooth Pixel Filtering

A unity example scene of CptPotato's smooth pixel filtering.

It uses a material with a custom JitterFreePixel shader.

To get jitter free pixel art set the filter to bilinear filtering on the imported textures under the advanced tab, create the sprites and apply the JitterFree material.

Built using Unity 2020.3.12f1 I have not tested it with older versions of unity so it may not work. Should work on mobile down to GLES 3.0

Background artwork by Luis Zuno

Shadertoy example by d7samurai

There is also a Godot version

Explanation of how the shader works on Handmade Hero



An Example

About

A unity shader for smooth pixel filtering, based on CptPotato's smooth filtering

License:MIT License


Languages

Language:ShaderLab 100.0%