Sign in to follow this  

Pre loading skybox maps

Recommended Posts

I need to preload some skybox maps in order to create a CubeTexture, since there are six maps loaded, how do I then regroup these separate images back as a single reference?

Cheers :)

If anyone has the same issue - just call addCubeTextureTask on Assetsmanger


Share this post

Link to post
Share on other sites

The CubeTextureAssetTask has a texture variable that can be used to get the CubeTexture that was constructed after loading all 6 images. The onSuccess function will deliver the CubeTextureAssetTask object as its first variable.

Is this what you mean? or do you need a reference to each one of the 6 images?

Share this post

Link to post
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.

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.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.