The Godot Q&A is currently undergoing maintenance!

Your ability to ask and answer questions is temporarily disabled. You can browse existing threads in read-only mode.

We are working on bringing this community platform back to its full functionality, stay tuned for updates.

godotengine.org | Twitter

0 votes

I think the title sums it up pretty well : is there an easy way to control gamma (or brightness) and contrast with sliders. I'm trying to make a settings menu, but I didn't find anything helphful online yet.

in Engine by (188 points)
edited by

Hi,
have a read here about environment

https://docs.godotengine.org/en/stable/tutorials/3d/environment_and_post_processing.html#environment

The environment class has many options to tune brightness, exposure and alike

https://docs.godotengine.org/en/stable/classes/class_environment.html

Just a quick question : is it working for 2d also?

Sorry, i've overead the 2D in the title. (convertet to comment)
No, i dont work with 2D.

If the visibilty modulate feature isnt enough for your needs you have to use a self made post process to do so.

I just found this post : https://godotengine.org/qa/28122/how-to-use-worldenvironment-node-in-2d
I applied the advice there to change the mode to canvas, and it works perfectly, so thank you!
I'm sorry but I can't choose your answer as the solution to my problem, I don't have the option anymore

nice one ... didmnt know about that.

Ive reposted the answer and added your finding ... for others to know

1 Answer

+2 votes
Best answer

have a read here about environment

https://docs.godotengine.org/en/stable/tutorials/3d/environment_and_post_processing.html#environment

The environment class has many options to tune brightness, exposure and alike

https://docs.godotengine.org/en/stable/classes/class_environment.html

IvanVoirol just found out!
Set mode to "canvas" to apply the settings to 2d

by (4,088 points)
selected by

Nice teamwork

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 Frequently asked questions and 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 [email protected] with your username.