Deferred rendering
Related terms: forward rendering, G-buffer
In forward rendering, each object is lit as it is drawn. It is simple and handles transparency well, but the cost grows with objects times lights.
Deferred rendering splits the work. A first pass writes surface data for every pixel into several textures: color, normal, depth, roughness. That set is the G-buffer. A second pass computes lighting once per screen pixel. It copes with hundreds of lights. Transparent objects still need a forward pass.
- Further reading
- LearnOpenGL: deferred shading