+1 vote

In my game I need to fade between day and night, and I am wondering if a single Tween node can do this for me by interpolating all the properties of a WorldEnvironment resource?

Right now I'm interpolating a couple select properites using the Tween node, but I wonder if I could simply this.

I guess blending between skybox HDRis would require some extra shader work, but I don't need this actually.

in Engine by (199 points)

1 Answer

0 votes

i think an animation node might be much easier.
you can add all the properties of the environment, and it will interpolate them in one single value.
You can also place some midstep color to create beatiful sunsets

by (1,436 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 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.