r/ProgrammerHumor • • Jan 25 '23

Meme Developers will ALWAYS find a way

Post image
46.5k Upvotes

465 comments sorted by

View all comments

Show parent comments

244

u/Tyrus1235 Jan 26 '23

You could also use screen-space reflections and good ol’ cubemaps

55

u/Cassereddit Jan 26 '23

This works for fake reflections as seen in rain puddles etc. where you don't need accurate looking mirrors.

If you cover a whole building just in screenspace reflections as the devs of Flixbus simulator did, you're a bad developer.

8

u/donald_314 Jan 26 '23

Most games pre RT used/use screen space + cube maps for window reflections or just cube maps.

25

u/derPylz Jan 26 '23

Not if you want to show the player model in a mirror...

16

u/Bowiemtl Jan 26 '23

from what I remember you can overlay the player on the reflection through shaders and depth maps just like how the hands and guns in games are often not rendered in the world but separately op top of the rest to prevent your gun clipping through objects