Conceptual
Login

Fragment Shaders

A fragment shader runs once per rasterized fragment, receiving interpolated inputs from the vertex stage, and outputs one or more color values (and optionally depth). It is the most frequently executed program in the pipeline, so its cost scales with covered pixels, not with geometry.

This Concept is waiting for its first lesson!

A fragment shader runs once per rasterized fragment, receiving interpolated inputs from the vertex stage, and outputs one or more color values (and optionally depth). It is the most frequently executed program in the pipeline, so its cost scales with covered pixels, not with geometry.

Are you a teacher? Sign in to start contributing.

Sign In