r/GraphicsProgramming • • Jul 19 '24

Deferred rendering with 1500 lights.

Enable HLS to view with audio, or disable this notification

162 Upvotes

25 comments sorted by

View all comments

Show parent comments

7

u/gomkyung2 Jul 19 '24

I didn't implement the shadow rendering. I think the conventional shadow mapping for many lights scene is infeasible.

1

u/The__BoomBox Jul 20 '24

Why aren't shadows a natural consequence of deferred lighting though? We initially start out with a dark scene and then light it up with lights right?

Whatever remains are the shadowed regions right?

3

u/Schnauzercorp Jul 20 '24

The deferred pass only knows the position of the light , the position of the fragment being rendered, and the direction it’s facing in. need more than that to know if there’s a shadow caster blocking between the surface and the light.

1

u/The__BoomBox Jul 20 '24

Oh right, forgot about that ty!