Set the correct filtering when the texture is used as a shader source