r/GraphicsProgramming • • Nov 05 '19

Really fun effect. I kinda want to try implementing it myself.

348 Upvotes

7 comments sorted by

48

u/zertech Nov 05 '19

Looks like when you get close enough to one of those "doors", the portion of the frame buffer that makes up the door way is copied to a texture that is than displayed on a plane in front of the doorway. So simple, but so cool.

18

u/[deleted] Nov 05 '19

Reminds me of Pillow Castle's 'Subliminal' tech demo.

https://m.youtube.com/watch?v=HOfll06X16c

4

u/zertech Nov 05 '19

Damn thats cool. I guess you would maybe measure the width of your view frustum at the location where its picked up, than as you move it you send a ray out to whatever surface it hits(which is the depth at where the model is going to be placed), measuring the frustum width there, and than just scale the mesh up at that ratio of those different widths? damn stuff like that is cool.

2

u/LivelyLizzard Nov 06 '19

This is so cool! Super interesting mechanic. Watched the whole video even though i am late already.

1

u/FlameLeo Nov 06 '19

Huh, it may be simple but I wouldn't have thought to do it that way. It's pretty creative

1

u/zertech Nov 06 '19

Yeah definitely. Thats the beauty of it.

3

u/[deleted] Nov 06 '19

That looks x100 nicer than when I try to do something simple like that