Itoo Software Forum

Author Topic: CoronaMultiMap with Forest Problem  (Read 623 times)

alexrecentspaces

  • Newbie
  • *
  • Posts: 27
  • Recent Spaces
    • recentspaces.com
CoronaMultiMap with Forest Problem
« 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,
Alex York
Recent Spaces

Michal Karmazín

  • iToo Software
  • Hero Member
  • *****
  • Posts: 1555
Re: CoronaMultiMap with Forest Problem
« Reply #1 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,

alexrecentspaces

  • Newbie
  • *
  • Posts: 27
  • Recent Spaces
    • recentspaces.com
Re: CoronaMultiMap with Forest Problem
« Reply #2 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,
Alex York
Recent Spaces