0 votes

I've noticed that all assets I import and even hand written shaders are mixed slightly with a light blue color. I suspect the Godot engine is performing some sort of lighting calculation and adding an ambient light blue to everything. Is there a way to turn this off?

in Engine by (154 points)

2 Answers

+1 vote
Best answer

Hi,
just create a WorldEnvironment in your scene ...

https://docs.godotengine.org/de/stable/classes/class_worldenvironment.html

there you can set the ambient light. You should also check if reflections are the cause of the blue tint.

by (4,084 points)
selected by
0 votes

By default, your scene will be lit only from the environment, which however does not include actual lights, as if it was a cloudy day. If most of the sky is blue, your object will be blue.

You can start by adding a DirectionalLight, which acts like a sun, and will light up your scene with white much better. Then, if you want the sky to have less influence over the scene overall, you can tune it down by reducing the Sky Contribution property, in your default_env.tres resource file. You can also change sky color, or override the whole environment in that scene by adding a WorldEnvironment node to your scene with a custom Environment resource.

by (29,090 points)
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.