This site is currently in read-only mode during migration to a new platform.
You cannot post questions, answers or comments, as they would be lost during the migration otherwise.
+1 vote

I know, I can create a skybox in the Blender and export, but it would be nice to have it directly in Godot.

in Engine by (454 points)
edited by

3 Answers

0 votes

You can make a skybox directly in godot.
Make a new environment in your camera inspector and set cubemap for background mode. Than make a new cubemap and load images.

by (45 points)

Note that the question is not "How to make a cubemap in godot", but is "How to use cubemap exported from blender directly in godot", since godot wants 6 images for the cube, while blender would arrange them in a 3x2 square.

Ah, sorry! I should read better. :)

As of v. 3.5.1 (Nov. 2022), cubemap is no longer an option for background mode, alas.

0 votes

I don't think so. But you can use image editor to separate 3x2 skybox textures from blender.

by (14 points)
+1 vote

It is now. In fact, as of the current version (as of this writing, v. 3.5.1), you can't use a cubemap or a six-sided image since this is no longer a Background option in WorldEnvironment: it must be an equirectangular panorama image, so you have to use a converter. Experimentation has shown me that a panorama image sized 1280 x 720 works well for 3D environments. Each of your six source faces should be 1024 x 1024 (if you're starting from a cubemap).

by (16 points)
edited by
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.