ebiten
ebiten copied to clipboard
ebiten: add `FilterCrispScaling`
Operating System
- [ ] Windows
- [ ] macOS
- [ ] Linux
- [ ] FreeBSD
- [ ] OpenBSD
- [ ] Android
- [ ] iOS
- [ ] Nintendo Switch
- [ ] PlayStation 5
- [ ] Xbox
- [ ] Web Browsers
What feature would you like to be added?
We propose to add a new filter FilterCripsScaling
, which enlarges the image without losing crisp edges and without being blurred. This is the same scaling as the current Ebitengine screen's scaling.
The current problem is that the filter might not work well when rotating.
In the future, we might be able to replace the default filter from FilterNearest
, but we are not sure.
Why is this needed?
To provide a better scaling instead of FilterNearest
.