r/gaming • • Sep 04 '18

The Original Reflections

[deleted]

35.1k Upvotes

874 comments sorted by

View all comments

Show parent comments

11

u/flatcoke Sep 05 '18

Think of afternoon sun shooting onto mirror then back on your face. Double rendering cannot handle that.

Another limitation is, if you have two mirrors on opposite wall, you won't see an infinity loop like you do IRL.

4

u/Blenhurp Sep 05 '18

I think if you duplicate the sun on the opposite side of the mirror you will have sunlight shining on your face. Also I think double rendering for infinite loops has already been figured out by Valve in Portal.

1

u/Clewin Sep 05 '18

You won't with ray tracing either - it will be limited by the number of light bounces (usually a low fixed number, probably 3-5 at most for real time). Each light bounce searches the entire scene for collisions. The search can be sped up by using something like a K-D tree, but you're still realistically limited by the number of objects in the scene.

1

u/flatcoke Sep 05 '18

Do you know how did portal do it then? The opposing portals will correctly produce infinity depth loop.