this post was submitted on 06 Jul 2023
14 points (100.0% liked)

GameDev

2725 readers
2 users here now

A community about game development.

Rules:

More rules might follow if they become necessary; general rule is don't be a pain in the butt. Have fun! ♥

GameDev Telegram chat.

founded 1 year ago
MODERATORS
 

Why exactly is deferred rendering faster?

The GPU is still doing the same work per pixel, isn't it?

Is it because there is less dependency chains as the buffers (albedo, normal, light, emission, ...) are independent?

#gamdev #rendering #opengl
@gamedev@lemmy.blahaj.zone @gamedev@lemmy.ml @opengl @gamedev@kbin.social

you are viewing a single comment's thread
view the rest of the comments
[–] gens@lemmy.fmhy.ml 2 points 1 year ago

Usually renderers do a z pre-pass to eliminate overdraw. Real reason for deferred shading to be faster would be lights. In normal forward, every light has to be accumulated for every pixel. And this problem is solved today with clustered shading (aka forward+). Link to paper: https://www.cse.chalmers.se/~uffe/clustered_shading_preprint.pdf

In short, these days deferred shading is slower because of memory bandwidth.