0 votes

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?

in Engine by (12 points)
edited by

1 Answer

+1 vote
var environment = $WorldEnvironment.get_environment()
var texture = load("res://path/to/texture.png")


Everything is in the documentation

Hope it helps

by (376 points)

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 "setadjustmentcolor_correction" and I made some mistakes.
Thank you for your help :) I really appreciate it :)

No problem man, glad to be of help

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.