Pryme8 Posted July 17, 2018 Share Posted July 17, 2018 Just that, in a scene like this: https://www.babylonjs-playground.com/#NAG06Y#10 How would one go about defining custom cap uvs, on the createTube. also, for the sides of the tube is there a way to make its uv be restricted/transposed to a range... so like instead of 0,0,1,1 space have it build the tubes side for example in the range of 0.6,0.6,1,1 or something simular? NasimiAsl 1 Quote Link to comment Share on other sites More sharing options...
Pryme8 Posted July 18, 2018 Author Share Posted July 18, 2018 https://www.babylonjs-playground.com/#NAG06Y#16 Did not do the caps, but I figured if I really wanted to I could with disc and my uv projection method. Nabroski and NasimiAsl 2 Quote Link to comment Share on other sites More sharing options...
jerome Posted July 18, 2018 Share Posted July 18, 2018 The tube cap texturing has a simple (poor) implementation. Maybe shoud you consider using a cylinder instead ? http://doc.babylonjs.com/how_to/createbox_per_face_textures_and_colors#cylinder 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.