Global shadow and antialiasing

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By badrazizi
:warning: Old Version Published before Godot 3 was released.

I’m trying to control shadow and fxaa globaly for all scenes with on/off toggle,
any help I would be thankful

:bust_in_silhouette: Reply From: KRL

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.

KRL | 2016-03-16 19:19