Chaos Corona Forum

Chaos Corona for 3ds Max => [Max] Bug Reporting => [Max] Resolved Bugs => Topic started by: NicolasC on 2018-04-12, 16:26:49

Title: Corona AO and Light Material
Post by: NicolasC on 2018-04-12, 16:26:49
Hello,

I'm not sure if it's a bug or if it works "as designed", so I'd rather report it. I've just noticed that AO doesn't work correctly when used in CoronaLightMtl, as long as Emit Light or Occlude other Lights options are disabled .... bug or feature ? :P
3dsmax2018.4, Corona v1.7.4

Thank you.
Title: Re: Corona AO and Light Material
Post by: NicolasC on 2018-04-18, 14:56:13
Any one, please ?
Title: Re: Corona AO and Light Material
Post by: maru on 2018-04-19, 16:18:54
We will look into this, just need a bit more time.
Can you provide more info? Screenshot? Scene? It always helps.
Title: Re: Corona AO and Light Material
Post by: NicolasC on 2018-04-19, 17:13:21
Hi Maru,

Sure, here is the scene and rendering.
On a side note, I noticed IPR is significantly longer to start when Light Material is set to emit light ...

Thank you :)
Title: Re: Corona AO and Light Material
Post by: maru on 2018-05-14, 11:15:49
LightMtl with "emit light" off is invisible to the GI (does not cast shadows, generate light, etc), and that's why AO is not working with it.
If you need such exotic setup (for any reason), use RaySwitch material and plug the LightMtl with emit light off into the direct visibility, and plug any shadow-casting material (such as standard Corona Mtl) into the GI slot. This way it will magically start casting shadows, will not generate light, and the AO will become visible.
Title: Re: Corona AO and Light Material
Post by: NicolasC on 2018-05-14, 11:36:53
Oh good idea, Maru, I'll try your workaround, thank you !
With your explanations, it's clear now ... not a bug then ;)

Cheers.