Im trying to make a lighting change gui but it doesn’t let me change it. Im trying game.Lighting.Technology = “Voxel”, game.Lighting.Technology = Voxel, game.Lighting.Technology = Enum.Technology.Voxel won’t change it. If I go into a local server and change it manually it works and on client too. (Technology isn’t a valid parent of Lighting) Any way to change it?
This is not possible due to Roblox probably going to have to change the lighting engine in the client I’ve attempted to do this my self in a local script as well and it had failed. I can only assume it’s due to how they have their rendering code setup.
Im trying to make a gui so players can switch it locally so if they have lag they can change it because graphic settings are weird and you need to go to 2 bars to get rid of shadows
No problem glad to help.
I find that one way to make clients have fewer fps issues is with lowering part count as that ends up lowering the amount that the GPU has to work.
Edit:
One idea I have just thought of is on the client side disabling the shadow setting on all parts via script I haven’t tried this but it can maybe help with this issue.
You can’t change Lighting Technology from a script, nor should you be doing that. If you’re having performance issues with ShadowMap, then pick one of these three options:
Optimise your game
Report reproducible performance bugs through the appropriate channels
Don’t use ShadowMap (last resort)
If you want to manipulate graphics on the client, include options such as part count reducers and other ways to modify the map on the client.
…that’s what I suggested? Technology should be set only from Roblox Studio. If your game lags, then optimise it or include settings options for players to reduce lag, along with their graphics sliders.
I’m confused as to what you’re disagreeing with and what you’re suggesting be toggled. Please explain (and so that any other reader can also know what you’re referencing).
Ya know, if you’re using the ShadowMap all parts get a Cast Shadow property right? You can just tick that for every part in the game to prevent shadows. That should help increase performance. Pretty sure @Maximum_ADHD used this method for his game.