Author Topic: Masking per scatter instead of per instanced object  (Read 944 times)

2015-12-04, 12:59:10

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 10914
  • Marcin
    • View Profile
The idea is to have better control over CScattered objects. Example situation:
-you have one object
-you scatter this object on 3 different planes using 3 separate CScatters
-now render one mask, or multiple masks, so that each of the scattered groups of objects is displayed in different color
Currently properties for mask element are taken from the source object, so any scatter using that object will be displayed the same in masks. Currently it looks like the only solution is to duplicate the source object, and have 3 different scatters with 3 different objects (you change the properties like object id for the duplicated objects).

Generally it would be nice to have the CScatter object taken into account instead of the source object, though I can imagine it being confusing too...
« Last Edit: 2018-10-19, 12:01:37 by maru »