Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/9D-Tony/UnitySmoothPixelFiltering
A unity shader for smooth pixel filtering, based on CptPotato's smooth filtering
https://github.com/9D-Tony/UnitySmoothPixelFiltering
filter game-development game-engine gamedev jitter jitter-removal pixel pixel-art shader shaders smooth unity unity2d unity3d
Last synced: 2 months ago
JSON representation
A unity shader for smooth pixel filtering, based on CptPotato's smooth filtering
- Host: GitHub
- URL: https://github.com/9D-Tony/UnitySmoothPixelFiltering
- Owner: 9D-Tony
- License: mit
- Created: 2021-06-26T12:59:14.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-02-18T18:18:55.000Z (almost 2 years ago)
- Last Synced: 2024-08-02T05:11:55.135Z (6 months ago)
- Topics: filter, game-development, game-engine, gamedev, jitter, jitter-removal, pixel, pixel-art, shader, shaders, smooth, unity, unity2d, unity3d
- Language: ShaderLab
- Homepage:
- Size: 67.4 KB
- Stars: 77
- Watchers: 4
- Forks: 7
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# Unity Smooth Pixel Filtering
A unity example scene of [CptPotato's](https://github.com/CptPotato/GodotThings) 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](https://opengameart.org/content/gothicvania-town)
[Shadertoy example](https://www.shadertoy.com/view/ltBGWc) by d7samuraiThere is also a [Godot version](https://github.com/uheartbeast/jitter-free-pixelart-scaling)
Explanation of how the shader works on [Handmade Hero](https://youtu.be/Yu8k7a1hQuU?t=4133)
An Example
![](https://media.giphy.com/media/PggcPKT0MYsHl8KjEu/giphy.gif)