[SHADOWMAPS] Disabling on mobile devices and tablets

Hey there!

I was wondering if there is some way I could disable shadowsmaps in my game only for people who join/play from mobile devices and tablets? Some sort of a script or something? The game is really detailed and laggy only in Shadowmap Lightning, turning it to Voxel removes the lag. The thing is that the game is not worth of publishing without Shadowmap.

Thank you!

Have you tested mobile performance with shadowmap on and off? I think that mobile users can set their own settings to disable it if their devices can’t handle it.

1 Like

I’m pretty sure roblox already optimizes mobile for voxel use instead of shadowmap, however this could of have been changed.

Regardless, there is currently no way to change the Lighting Technology at run time.

You should consider looking into StreamingEnabled and optimizing your game if mobile performance reveals to be an issue.

2 Likes

Yeap, I have. My iPhone 8 Plus didn’t handle it! Not sure about ability to disable it on Mobile Devices by a player itself.

You could disable BasePart.CastShadow on the client for certain objects that don’t need it

3 Likes