Skip to content

AG-w/BiliScaleMode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

BiliScaleMode

a Bilinear filter for HaxeFlixel scale mode
also added a simple sharpen filter
based on an issue
HaxeFlixel/flixel#1817

Warning: this modifed scale.x and scale.y in BaseScaleMode. maybe you should check if you used these 2 variable to prevent disaster
you can integrate it by following this dev
https://github.com/HaxeFlixel/flixel/pull/1826/files

Also screen will shift to unknown distance under extream scale ratio (somewhere under original 13% resolution)
I don't know why. maybe It's related to how openfl handle shader. Tbh I don't know GLSL at all, I just trying to replicate the code.
also hope that next openfl version won't break shader again

Remember to rewrite the Code because I'm not good at it and it looks ugly as f

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages