dialogic icon indicating copy to clipboard operation
dialogic copied to clipboard

Background Transition Blurry (Linear Filtering)

Open natanmaia95 opened this issue 1 year ago • 0 comments

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_filter to 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): image

How it looks by default: image

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. image

Possible fixes If possible, these sampler filter types should be set to the system default when the shader is instantiated.

natanmaia95 avatar Jun 30 '24 22:06 natanmaia95