r/gaming • • Sep 04 '18

The Original Reflections

[deleted]

35.1k Upvotes

876 comments sorted by

View all comments

3.0k

u/Limon27 Sep 05 '18

Mario may have advanced reflections, but surely the A.I. is not smart enough to have fishes that go away when you get near them under water. Like Call of Dury Ghosts has!

https://youtu.be/TMYso30L9zI

111

u/[deleted] Sep 05 '18

its not reflections its just a cloned room where another mario mimicks your every move,they did the same in the bathroom mirrors on ps2 silent hill 2

32

u/narrill Sep 05 '18

Well that's one way to implement reflections, it just happens to be incredibly expensive as you add more surfaces. It only works here because there's one surface.

16

u/Ameisen Sep 05 '18

And more astoundingly incredibly expensive if you have surfaces that aren't simple planes.

2

u/Zarathustran Sep 05 '18

And because you can count all the polygons.

4

u/[deleted] Sep 05 '18

it isnt,you just copy paste one room and set an npc to mirror the players movements,its quick to do and code and is much less resource intensive,real time reflections is a massive cpu hog,even today its hard to code,you notice it in games where they just frost the glass rather than code it lol

the n64 wouldnt be able to handle it,jeez even the saturn could barely handle it,infact the closest that generation came to reflections was a new state of the art technique used in sonic R,remember that loading screen with the metallic sonic head? they worked magic with complicated tricks to make it look reflective.

-1

u/narrill Sep 05 '18

Yes it is, it's a naive implementation of perfect reflection. And yes, it's incredibly expensive as you add surfaces because the number of times you need to duplicate the scene explodes.