This is using gl_PointCoord to map textures onto points, enlarged with gl_PointSize, gives you an area to map textures, instead of using quads. The downside is, I guess, the entire image must be used, so no texture coordinates necessary.
Watch video OpenGL Fragment Shader Point Sprites Texture mapping Visual Studio 2017 online without registration, duration hours minute second in high quality. This video was added by user LearningOpenGL 10 December 2017, don't forget to share it with your friends and acquaintances, it has been viewed on our site 443 once and liked it 4 people.