(SOLVED) How can I set a parameter of WorldEnvironment?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By kiside

Hi everyone, I’m trying to set the parameter “color correction” with an image by script, but I can’t figure it out how I can do it.
Can anyone help me, pls?

:bust_in_silhouette: Reply From: jtarallo
var environment = $WorldEnvironment.get_environment()
var texture = load("res://path/to/texture.png")


Everything is in the documentation

Hope it helps

That was my first attempt and it didn’t work O.O but now it works without problems.Maybe I was tired when I tried the “set_adjustment_color_correction” and I made some mistakes.
Thank you for your help :slight_smile: I really appreciate it :slight_smile:

kiside | 2020-06-08 08:53

No problem man, glad to be of help

jtarallo | 2020-06-08 13:44