How to set material size to match parent mesh

Please do not forget to add a link to a Playground to get a faster answer:

I just started on Babylon.js.
I have a parent mesh, and I want to put an image that fits inside the parent mesh using material.
To do that, I used the maximum of the boundingInfo of the parent mesh, but it doesn’t work very well.

Welcome aboard!

Could you provide a link to what you were able to achieve in the Playground? It will be easier for us to understand your needs and provide answers.

Thanks!

2 Likes