Quantcast
Channel: Babylon.js
Viewing all articles
Browse latest Browse all 388

Multi Material not working after baking a mesh

$
0
0

I have a box mesh that I am baking a scaling transform into because it has child meshes whose current sizes I do not want to change. I have applied a multi material to this mesh that has 6 submaterials (one for each face). The problem is when I bake the scaling transform, the material starts displaying the same texture for each face rather than a different texture for each face (it displays correctly before baking). Does anyone know why this is and/or how I could fix this?

 

I won't have screenshots or code examples until i get into work tomorrow but if anyone has any ideas It would be very helpful1

 

 

Thanks,


Viewing all articles
Browse latest Browse all 388

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>