I want to display 2 textures on 2 squares. Here's what it looks like.

the image size is 325x325. How to make the texture of the right side more sharp.the only way to get good quality is when I use textures and objects with the same size.I'm using PNG images and the following GL methods.
My vertex
#version 430 core
layout(location = 0) in vec2 position;
layout(location = 1) in vec2 texCoord;
layout(location = 2) in float layer;
out vec2 uv;
out float layer_get …