ReasonX7 Posted March 5, 2016 Share Posted March 5, 2016 Does BabylonJS has a method for generating such array: [_px.jpg, _py.jpg, _pz.jpg, _nx.jpg, _ny.jpg, _nz.jpg]? Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted March 5, 2016 Share Posted March 5, 2016 hello and welcome, can you elaborate a bit more? Quote Link to comment Share on other sites More sharing options...
jerome Posted March 5, 2016 Share Posted March 5, 2016 I just PRed this new feature : var ar = BABYLON.Tools.generateSuchArray(img1, img2, img3, img4, img5, img6); Hope it helps Kidding, of course Vousk-prod. 1 Quote Link to comment Share on other sites More sharing options...
adam Posted March 5, 2016 Share Posted March 5, 2016 http://doc.babylonjs.com/tutorials/CreateBox_Per_Face_Textures_And_Colors http://playground.babylonjs.com/#1V3CAT#12 I think you will need to do something like this if they are separate images: http://playground.babylonjs.com/#T40FK#35 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.