r/GraphicsProgramming • • Jul 19 '24

Deferred rendering with 1500 lights.

162 Upvotes

25 comments sorted by

View all comments

0

u/[deleted] Jul 19 '24

[deleted]

14

u/obp5599 Jul 19 '24

Pack it up boys (every major game engine) some random on reddit says deferred rendering is stupid. No need to be an asswipe brother

2

u/Reaper9999 Jul 19 '24

(every major game engine)

Except idTech actually, they don't use deferred (well, deferred lighting at least, idTech 6 has some g-buffers, idTech 7 has none AFAIK).

1

u/obp5599 Jul 19 '24

I did a gpu capture on Doom Eternal around when it came out in 2020 and I thought I remembered seeing a gbuffer but I could be wrong here since it was awhile ago

2

u/moonshineTheleocat Jul 19 '24

Doom Eternal doesn't use a deferred renderer. Its forward. But it does use a lightweight gbuffer for Z-prepass, mesh-decal IDs, and velocity for motion blur.

After that they shade via forward.

https://simoncoenen.com/blog/programming/graphics/DoomEternalStudy

0

u/[deleted] Jul 19 '24

[deleted]

5

u/obp5599 Jul 19 '24

Every game from EA in the last 10 years uses a modified deferred pipeline or forward+. It also changes per platform. Unreal defaults to it as well on lower end platforms with lumen disabled

0

u/[deleted] Jul 19 '24

[deleted]

2

u/[deleted] Jul 19 '24 edited Jul 19 '24

[removed] — view removed comment

1

u/moonshineTheleocat Jul 19 '24

Both has pros and cons.

Forward tends to better for lower memory bandwidths and cost at the cost of register pressure. But it makes handling decals and screen space techniques trickier.

Deferred has easier screen space techniques. But has a massive increase in memory consumption and bandwidth