how to import image into shader without interpolation

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By r245

When I import the image into canvas_item shader, it’s blurry. I tried to set the nearest filter in project settings but it didn’t work. I also set the same mode in the CanvasItem settings, which didn’t help either. Has anyone encountered a similar problem?

Edit: problem not in lowp, without it it works the same

P.S: Sorry for my english, i use a translator

:bust_in_silhouette: Reply From: r245

Decided! add “: filter_nearest” after sampler var name