How to make realistic shadows

Learn how to change the lighting technology to better suit your projects!

by ciao_sonorp4

Author Avatar

##General Info Have you ever been working on a game, just to realize that when you're making lights they don't seem to fit well with the theme? Maybe they're too bland or pheraps there aren't even shadows. The answer is: Lighting Technologies!

In Roblox, there are 4 types of lighting technologies, each serving a purpose. The 2 most important ones are ShadowMap and Future.

image|50x2 example of ShadowMap

image|100x100 example of Future

image|100x100 the sun and a light source reflecting on metal

So, in short, ShadowMap gives more performance and Future is more appealing.

##How to switch Now that we know what they do, how exactly do we switch the lighting technology?

This is fairly simple—you just have to select the Lighting service in the explorer, find a property called "Technology" and select the one you'd like! Remember that the Technology property cannot be changed via script—you can only change it using studio's exporer.

image|100x100 Where to find them in the Explorer and Properties

MAKE SURE THAT THE LIGHT SOURCE HAS THE PROPERTY CALLED "Shadows" ENABLED AND THE BASEPARTS HAVE "CastShadow" ON, OTHERWSE NO SHADOWS WILL APPEAR!

With that said, also remember that Future isn't always better—sometimes going for performace is actually better!

View in-game to comment, award, and more!