Switching between lighting technologies in game

I wanna be able to switch between Future lighting and shadow map lighting in game.

Why? Future lighting performance isn’t the greatest, so I’d like for players to be able to decide if they want to prioritize fidelity or performance.

This HAS to be optional. I cannot simply make the entire game in future.

I imagine I’d just do game.Lighting.Technology = Enum.Technology.Future(which yes this is the valid enum), but that doesnt work as “technology” is not a valid member of Lighting apparently.


And no, “technology” does not get auto completed if you type Lighting., but the other properties do.

I imagine Roblox has a lock on this, but I can easily change lighting technologies while the game is running in Studio from the explorer without issue.

Is there a specific way to do this that I’m missing? Please help!

2 Likes

I realize now the creator documentation lists “Technology” as NOT-SCRIPTABLE.

lame…

2 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.