Chaos Corona Forum

Chaos Corona for 3ds Max => [Max] Bug Reporting => [Max] Resolved Bugs => Topic started by: alexyork on 2019-12-06, 12:29:27

Title: Gbuffer Material ID -1 (disabled) still appears in c_mask element
Post by: alexyork on 2019-12-06, 12:29:27
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,
Title: Re: Gbuffer Material ID -1 (disabled) still appears in c_mask element
Post by: maru on 2020-01-06, 17:44:04
Sorry for the silence. We will definitely check this!
Title: Re: Gbuffer Material ID -1 (disabled) still appears in c_mask element
Post by: alexyork on 2020-01-06, 19:21:53
No worries. Happy new year to you all :)
Title: Re: Gbuffer Material ID -1 (disabled) still appears in c_mask element
Post by: maru on 2020-01-07, 13:40:24
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.
Title: Re: Gbuffer Material ID -1 (disabled) still appears in c_mask element
Post by: alexyork on 2020-01-07, 13:47:38
You're right. Our cock-up! As you were... :D