[KongchangAI]
Conceptvertex shader

Vertex shader

A shading program in the GPU rendering pipeline that executes on geometry vertices; the number of executions is far smaller than the pixel count, making it suitable for computations that do not vary per pixel with the viewing angle, thereby reducing the burden on the fragment stage.

Timeline (last 90 days)

Oct 17

The fragment shader executes once for each covered pixel, so when the sky occupies a large area of the screen the cost grows linearly with resolution; the vertex shader executes only for geometric vertices, whose number is usually far smaller than the pixel count.

Unverified50%
Oct 17

Moving quantities that do not vary per pixel with the view angle (such as constants related to the sun direction and color coefficients) into the vertex shader or CPU-side precomputation can greatly reduce the burden of the fragment stage.

Unverified50%

All Facts (2)

Source Articles