Is there anyway to bake a corona tile map. We make brick textures which is great, but then we can’t use them in vantage. Is there anyway to get flattened rendered images from the material? Has anybody found a work around yet?
Hi,
Unfortunately tile map is not working correctly with bake to texture (i didn’t try render to texture, but i don’t have hopes that it would work either). However there is work around. It’s a bit hacky, but gives great result nonetheless. First you need flatten your object to its UV space, for that you’ll need a script.I use slideknit, but there also other scripts that do the same, like this one https://www.kinematiclab.com/products/uv-to-mesh Once you have your mesh flat, create Corona orthographic camera, position it directly above the mesh, then go to render elements and add RE that you want to render. In this case the most useful REs are CTexmap and CGeometry_NormalShading. After that you just hit regular render and save your REs to the disk once the rendering is finished. And now you have your baked textures, ready to be assigned on your object in any app. The only downside of this approach that it can’t generate padding. If you need padding, you can save alpha map and generate padding in photoshop or other 2D editor.
Here’s a sample scene with Corona tile map baking setup for a basic cube. Hope that helps.
corona-tile-map-baking.zip (76.0 KB)
Thank you so much for taking the time to reply. I really appreciate it and the supply of the example files which makes the method much clearer. I’ll definitely give it a go. Thanks again ![]()