0 votes

I want to show a planet spinning in the distance.
Right now, I use just a static image as the environment map
so now I want it to be able to change over time

in Engine by (20 points)

1 Answer

+1 vote

Unfortunately, Godot only supports using static images as a panorama. Using a video would mean the radiance map would need to be updated (at least) 24 times a second, which is too fast for the current radiance map implementation. This might be doable in Godot 4.0, but keep in mind decoding high-resolution video on the CPU has a significant cost.

I suggest making the planet use a MeshInstance with a SphereMesh and rotate it using an AnimationPlayer node. It won't appear in the reflections this way, but at least it'll be able to move :)

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

Categories