Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improvements to three point filtering #483

Merged
merged 1 commit into from
Aug 5, 2024

Conversation

MaikelChan
Copy link

Implemented texture filtering setting with a dropdown showing all three options, and three point can now be changed in real time. Also non-filtered textures are respected in three point mode. Fixes: #39

It's probably not ideal the fact that the three point shader code is now always present, but tried other approaches like deleting all programs and clearing the shader pool when changing modes without success.

PD_TP

…ee options, and three point can be changed in real time.
@fgsfdsfgs
Copy link
Owner

fgsfdsfgs commented Aug 5, 2024

I'd say it would be an acceptable solution to just pop up a message that says "this will only apply after restart". Not sure about having that extra branch/uniform on everything. I'll just merge this and see what I can do about it.

@fgsfdsfgs fgsfdsfgs merged commit e3e7261 into fgsfdsfgs:port Aug 5, 2024
3 checks passed
@fgsfdsfgs
Copy link
Owner

Made it so it only adds that part when it's enabled. Runtime switching is still supported, I just had to nuke the entire shader and color combiner cache for that to work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Three-point filtering shouldn't be applied to some textures
2 participants