dialogic
dialogic copied to clipboard
Background Transition Blurry (Linear Filtering)
The problem
Describe the bug Background image transitions become blurry during any of the default background transitions, despite the chosen default texture filtering in Project Settings
To Reproduce
- Set project setting
rendering/textures/canvas_textures/default_texture_filterto Nearest. - Get a pixelated / low resolution image to use, like a texture from Spriters Resource.
- Make a new Timeline.
- Set a Simple Fade or Push transition to a pixelated / low-res background image (Make it slow for easy notice).
- Preview Timeline.
Expected behavior
The filtering mode for the background transition shaders should respect the filtering mode I set as default in the editor in rendering/textures/canvas_textures/default_texture_filter, and I possibly be able to edit the filtering mode as a setting of the BackgroundLayer in the style editor.
Screenshots
How it is supposed to look (paused during a transition):
How it looks by default:
System (please complete the following information):
- OS: Windows
- Godot Version: 4.2
- Dialogic Version: 2 alpha 14
Solutions
Workaround
My game is made entirely with pixel art so I can afford modifying the default shaders directly.
Possible fixes If possible, these sampler filter types should be set to the system default when the shader is instantiated.