Fragment shader

cosmos 28th May 2017 at 3:41pm
Shader

Gets pixel coordinates that fall inside polygons (often Triangles) defined by vertices (processed by the Vertex shader). It assigns each of them a color, for instance by using a Texture (Graphics) associated with the polygon.

https://blog.mayflower.de/4584-Playing-around-with-pixel-shaders-in-WebGL.html