Author Topic: Mask with coronascatter  (Read 2340 times)

2017-01-11, 23:50:52

ankoron

  • Users
  • *
  • Posts: 4
    • View Profile
Hello everyone.

I'm trying to create a mask from trees/grass produced with corona scatter. I tried to select a coronascatter  object with CMasking render element, but it just renders black. I can't think of another way to do it, do you have any ideas?

Thank you

2017-01-12, 00:03:46
Reply #1

mferster

  • Active Users
  • **
  • Posts: 523
    • View Profile
Go to your object properties of your scatter instances and change the object ID on your G-Buffer to 1
then in your Cmasking render element tick object Gbuf ID and change to 1. If you want to separate the elements from each other use RGB Mode and assign a unique ID to each.

2017-01-12, 00:26:20
Reply #2

ankoron

  • Users
  • *
  • Posts: 4
    • View Profile
Mferster, thank you! I mistakenly changed the object ID of the cscatter object instead of the instanced objects.

2017-01-12, 15:40:51
Reply #3

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 12764
  • Marcin
    • View Profile
Currently this is a limitation - you either need to use another method as suggested, or you need to select the scattered (source) objects, not the CScatter object itself.
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us