Author Topic: Gbuffer Material ID -1 (disabled) still appears in c_mask element  (Read 1195 times)

2019-12-06, 12:29:27

alexyork

  • Active Users
  • **
  • Posts: 521
  • Partner at Recent Spaces
    • View Profile
    • RECENT SPACES
Hi chaps,

Just found that using Gbuffer Material ID -1 (disabled) doesn't work - it still renders in c_mask element (monochrome) e.g when your element is set to only render ID 2 for example.

Cheers,
Alex York
Partner
RECENT SPACES
recentspaces.com

2020-01-06, 17:44:04
Reply #1

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 9456
  • Marcin
    • View Profile

2020-01-06, 19:21:53
Reply #2

alexyork

  • Active Users
  • **
  • Posts: 521
  • Partner at Recent Spaces
    • View Profile
    • RECENT SPACES
No worries. Happy new year to you all :)
Alex York
Partner
RECENT SPACES
recentspaces.com

2020-01-07, 13:40:24
Reply #3

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 9456
  • Marcin
    • View Profile
I think it works as expected.
If it's set to -1, it means that the override is disabled, meaning that the number set in material editor will be used (see screenshot).
If it's set to anything else, then this number will be used instead of the material editor number.

2020-01-07, 13:47:38
Reply #4

alexyork

  • Active Users
  • **
  • Posts: 521
  • Partner at Recent Spaces
    • View Profile
    • RECENT SPACES
You're right. Our cock-up! As you were... :D
Alex York
Partner
RECENT SPACES
recentspaces.com