Hi guys, so I’m trying to write a script to assign bitmaps to the multiple environment map settings of corona and then create render elements for thé lightmix. The problem I’m facing is that the only way to access the multiple environment bitmap slots is through bg_texmaplist, but the problem is that it isn’t correlated in any way to the bg_mapCount which defines the number of environments. So I can sometime have 12 bitmaps in bg_texmapList and only 1 bg_mapCount. Which is not helpful at all. Do you have any solution?
Maybe you have to set bg_mapCount manually for it to use all the maps?
I’m not the corona user and perhaps it is worth asking on corona forum instead as well.