gerard1290 Posted September 14, 2018 Share Posted September 14, 2018 Hi guys, I am kind of going crazy trying to figure out why my material is not being applied to a ribbon I created(irregular flat plane). The whole ribbon becomes one color and seems to take the color of the first pixel of the image texture I am applying. I played around sizing of the ribbon thinking it was just too small, but observed no difference. Is there something I am missing? Perhaps some parameter that needs to be set? Also the material works fine for standard meshes so I am pretty confident that is not the issue. Thanks in Advance, Gerard Quote Link to comment Share on other sites More sharing options...
kcoley Posted September 14, 2018 Share Posted September 14, 2018 Hi @gerard1290. Do you have a sample playground that demos your issue? Quote Link to comment Share on other sites More sharing options...
jerome Posted September 14, 2018 Share Posted September 14, 2018 The ribbon texture is applied by default by stretching the texture all along the ribbon surface. A PG would help to understand your issue docs : http://doc.babylonjs.com/resources/maths_make_ribbons http://doc.babylonjs.com/how_to/ribbon_tutorial Quote Link to comment Share on other sites More sharing options...
gerard1290 Posted September 15, 2018 Author Share Posted September 15, 2018 Hmm... Seems to work just fine in playground. Will have to investigate my code further. https://playground.babylonjs.com/#QF9AJ8 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.