Texture-to-texture copy with offset makes target blurry |
SX
|
I found a solution. The SDL_HINT_RENDER_SCALE_QUALITY was set to LINEAR for all platforms. On PC, it was perfect. On Android it caused the before mentioned problem. I set it to NEAREST on Android and it got fixed. On PC this scaling method looks terrible on certain scaling so I stay with LINEAR on PC and NEARSET on Android (although I have to test on several devices to check image quality).
I would be still happy if someone could explain me why is this difference. Also is there a fast and reliable way to do part of the rendering with NEAREST and other parts with LINEAR scaling? And could anyone give me an advice how could I increase image quality if I have to render with the NEAREST setting? Thanks |
|||||||||||
|