Jump to content

making a skybox


cassius
 Share

Recommended Posts

I dont know how to make one, but I know how to assemble one from pictures.

 

Uploaded 6 new ones to the WS:

http://steamcommunity.com/sharedfiles/filedetails/?id=401648279

 

 

If you have skybox images (6 of them) you can use imagemagick http://www.imagemagick.org/ to assemble them, using the montage tool :

 

A skybox have 6 sides, and needs to look like this in LE (6x1) image:

 

17.png

 

Cubemaps have 6 sides:

- left side (positive +x or px)

- right side (negative -x or nx)

- up (positive +y or py)

- down (negative -y or ny)

- front (positive +z or pz)

- back (negative -z or nz)

 

Use montage to assemble like this form 6 images (into one like the one above here)

montage -geometry 1024-tile 6x1 left.png right.png up.png down.png front.png back.png output.png

Copy output.png to the Materials/Sky/

 

Open the output.tex in the texture editor in LE

- Select compression : Uncompressed

- Select Filter Mode : Pixel

- Select Texture Mode : Cubemap

- Save

 

Now you have a ready to go cubemap for LE.

  • Upvote 4

HP Omen - 16GB - i7 - Nvidia GTX 1060 6GB

Link to comment
Share on other sites

Yeah, but I dont know how to assemble a cross layout from images, however if you already have a cross image you can ofcource use it, 2) is true, seams will show if you use jpg as source, or DXT compression for the cubemap.

 

Also if you want to make an ingame envmap for metal shaders, you can use this methiod:

http://www.leadwerks.com/werkspace/topic/11224-skybox-rendering/#entry82736

HP Omen - 16GB - i7 - Nvidia GTX 1060 6GB

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...