Working Cubemaps in native ROBLOX

What am I you working on currently?

These are cubemaps in native ROBLOX, cubemaps create closely believable reflections (but not as accurate with something like ray tracing for example) by overlaying an image on an object.





Cubemaps are created by creating image slices from the player camera (EXCLUDING THE REFLECTED OBJECT) in all 6 directions (Top, Bottom, Front, Back, Left, Right) all at 90 FOV with them then being spliced together.

(This isn’t a perfect demonstration, as ive had to reuse a single cubemap for all these angles, in reality you would want a cubemap for every single camera point.)

6 Likes