Description
The valid GLSL "texture" function is emphasized by a red line. It is also worth mentioning that the shader is successfully compiled when this function is used. Meanwhile, the similar "texture2D" function is accepted by the editor (but I use OpenGL 3.3 and this function is deprecated since this OpenGL version and later).