Forward Shading

Computer Graphics · Real-Time Shading · forward-shading.yaml

Shade each fragment as its triangle is rasterized, looping over lights inside the shader. Simple and MSAA-friendly, but cost is paid again for every fragment later overdrawn.

Colour is the family; a dashed line is the second member of it.

Drag to pan · scroll to zoom · click a node to open it
G deferred-shading Deferred Shading forward-shading Forward Shading deferred-shading->forward-shading shades once per pixel, not once per overlapping fragment rasterization Rasterization forward-shading->rasterization shades each fragment as its triangle is filled

This node

Referenced by

References