Itoo Software Forum

Forest Pack => Forest Pro (*) => Topic started by: alexrecentspaces on June 16, 2016, 12:26:21 PM

Title: CoronaMultiMap with Forest Problem
Post by: alexrecentspaces on June 16, 2016, 12:26:21 PM
Hi folks,

We have an object with different mat Ids using MaterialByElement, and we're trying to drive the colour of the forest (via tint control on a Forest Color - Get Color From Map and set to As texture on Surface mode) based on this, with a CoronaMultiMap, which is dictating the colours.

It just seems to pick up only the colour/map in the first slot and ignores all the others when rendering.

Any ideas? Seems like a bug or incompatibility issue with Corona perhaps.

Cheers,
Title: Re: CoronaMultiMap with Forest Problem
Post by: Michal KarmazĂ­n on June 16, 2016, 05:06:21 PM
Hi Alex,

To be honest, I'm not sure how the implementation of Corona Multi Texmap is made, but for some reason Forest Pack can't access all its values during the render time (most probably it's designed in a very specific way just for Corona's purposes).

I would suggest you to use the Render To Texture tool and bake the Corona_Diffuse Texture Element, which you can easily loaded as a Bitmap / Corona Bitmap map and drive the Get Color from Map - As texture on Surface feature. Let me mention, that "Get color from map->As Texture on Surface" works only at Item level (it's not compatible with tint by Element).

Best regards,
Title: Re: CoronaMultiMap with Forest Problem
Post by: alexrecentspaces on June 16, 2016, 05:08:56 PM
Thanks Michal.

That's a shame because the workaround won't allow for any kind of dynamic changing of the map, having to re-do the R2T each time. Kind of negates the use of the multimap in the first place, otherwise we'd just use a texmap anyway.

I'll mention this to the Corona guys and see if they can sort something out that will work.

Cheers,