To toggle on/off shadow you have to enable and disable it on thedirectional light.
To toggle fxxa you have to add it via environment to your current camera and then toggle it by editing a param of fxxa on your camera’s environment.
Edited on 16.03.16 20:20:
It can’t be passed because it belongs to the scene dependent object so you have to pass those values by config file.
I konw this but I was looking for way even if I changed the scene the env and the light will be effected
badrazizi | 2016-03-16 18:52
can you be more specific?
If i understand u then u want to KEEP(?) values of light and environment after loading another scene? If so then you just have to pass that values to the light and environment at the new scene.
KRL | 2016-03-16 19:05
yes I want to keep the values even if the scene changed and I was looking for way to override those values globaly as I can do with sound and fx via audioserver
badrazizi | 2016-03-16 19:15
create a config file and pass config by it to other scenes.