How to change default texture filter with code

Godot Version

Goodt 4.2.2

Question

Hello, i was searching for to implement a way to change default texture filter in game settings.
Is there any way to change filter to like nearest when pressing a button?

You can change the root node’s texture_filter property, I believe 2D node default to inherit their parent’s texture filter

1 Like