1
$\begingroup$

I have generated 6 images that are of a sky projected onto the faces of a cube from the viewpoint of the centre of the cube (ie. a hopefully seamless skybox).

However I am having issues adding this texture to the world material. I have tried adding the images to the background via an Environment Texture but am unable to get anything even remotely close to looking correct.

Here are my problems:

  1. The world material seems to be applied to a sphere but I want it to be a box (the program I am using to generate the sky generates a box)
  2. I don't know how to stitch my images together for use in the world material
  3. I'm not sure I'm even going about this the right way

I have searched and searched trying different things for most of the day so far but am coming up blank.

$\endgroup$
  • $\begingroup$ possible duplicate of Exporting Cycles Sky to skybox images $\endgroup$ – p2or Jun 15 '15 at 19:05
  • $\begingroup$ Cycles's environment object does not support skybox textures. Your best bet is to place the scene inside a large cube object with your texture mapped to it. $\endgroup$ – Todd McIntosh Jun 15 '15 at 19:40
  • 1
    $\begingroup$ @poor Not the same question in my opinion. One has 6 images and wants to use them, one has sky and wants to export to 6 images: meta.blender.stackexchange.com/questions/549/… $\endgroup$ – Ray Mairlot Jun 15 '15 at 19:53
  • $\begingroup$ @RayMairlot ok, you are right. retracted. $\endgroup$ – p2or Jun 16 '15 at 7:26
1
$\begingroup$

Blender's environment texture in Cycles only supports Mirror Ball and Equirectangular image map types. You cannot use a skybox texture directly.

Some of your options are:

  1. Convert the skybox image to one of the other 2 formats in a third party image convertor.
  2. Set Blender native environment to pure black. Create a large cube object that surrounds your scene, UV unwrap and add the skybox image texture to that object.
  3. Find a new sky image in Equirectangular or Mirrorball format and use that instead

Blender's internal render engine (BI) does seem to support additional mapping types (Object, Tube, Sphere, Global). Perhaps you could use the Object mode to base the mapping on a cube object but displayed as the world environment. I've not tried or tested that technique though.

$\endgroup$
  • $\begingroup$ Thanks for the info. I was coming to the conclusion that it was not directly possible but needed confirmation. I do not know of any software that can convert my images... apart from blender xD I think I will apply it to a cube in another scene and generate the environment map from that then use that generated one in my original scene (hopefully I won't lose too much detail, but I can generate higher resolution images of my skybox as it is procedurally generated so I have a workaround). This should work and shouldn't take too long. $\endgroup$ – Neilos Jun 15 '15 at 21:09

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.