V!nc3r

CubeTexture orientation

Recommended Posts

Hi all,

I tried to set up a scene in the playground with a custom cubeTexture, but playground doesn't like it :)https://www.babylonjs-playground.com/#1XOKHQ#1

So for now my simple scene is on my ftp : https://www.nothing-is-3d.com/tmp/cubemapBJS/

This is a screenshot from the photoshop file used to generate the cubemap (based from the famous tropicalSunnyDay)

cubemap.jpg

Exported files are located here : https://www.nothing-is-3d.com/tmp/cubemapBJS/cubemap/

 

And here what i get, check how the pz is mapped :

cubemapInverted.gif

So simple question :) why the cubemap is inverted ? Is it me who is doing it wrong ?

Share this post


Link to post
Share on other sites
31 minutes ago, Nabroski said:

it is something about how reflection works

Ouch, my topic seems to be a n00b question indeed. I don't know why I don't drawn a parallel between reflectionTexture and mirror IRL... :ph34r: Can't wait vacations to have some rest :lol:

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.