Chaos Corona Forum

Chaos Corona for 3ds Max => [Max] Bug Reporting => Topic started by: Maybejensen on 2024-11-25, 08:37:07

Title: Lightmix bug when first opening scenes
Post by: Maybejensen on 2024-11-25, 08:37:07
Hey
We have an issue where lightmix won't kick in, when we first open a scene and do an interactive render.
We have to tick off a lightmix layer then on again for it to work.
This happens 100% of the time when using multiple HDRI's in lightmix.

Corona version: 12 (Hotfix 1)
Full-speed, Non-debug, MaxSDK 2024
____________
Edition   Windows 10 Enterprise
Version   22H2
Installed on   ‎28-‎05-‎2024
OS build   19045.5131
Experience   Windows Feature Experience Pack 1000.19060.1000.0

Title: Re: Lightmix bug when first opening scenes
Post by: Aram Avetisyan on 2024-11-25, 09:22:24
Hey
We have an issue where lightmix won't kick in, when we first open a scene and do an interactive render.
We have to tick off a lightmix layer then on again for it to work.
This happens 100% of the time when using multiple HDRI's in lightmix.

Corona version: 12 (Hotfix 1)
Full-speed, Non-debug, MaxSDK 2024
____________
Edition   Windows 10 Enterprise
Version   22H2
Installed on   ‎28-‎05-‎2024
OS build   19045.5131
Experience   Windows Feature Experience Pack 1000.19060.1000.0

Hi,

Do you mean when selecting lightmix render element, it is not displaying what lightmix layers are setup to show, and you need a single enable-disable of some layer for it to show the expected result?
Title: Re: Lightmix bug when first opening scenes
Post by: Maybejensen on 2024-11-25, 12:39:49
Exactly. Yes.
Title: Re: Lightmix bug when first opening scenes
Post by: Aram Avetisyan on 2024-11-25, 14:11:59
Thanks.

Please create a very simple scene where this can be reproduced easily, and send it over. A video recording will be even better and make things quicker.
We will investigate it surely.
Title: Re: Lightmix bug when first opening scenes
Post by: Maybejensen on 2024-12-05, 15:32:17
Found the reason why. When opening, corona defaults to the beauty pass. It goes to the lightmix pass once you tick off and on a lightmix layer. So when you do a render after closing corona, what you see is different.
Title: Re: Lightmix bug when first opening scenes
Post by: Aram Avetisyan on 2024-12-09, 12:00:57
Found the reason why. When opening, corona defaults to the beauty pass. It goes to the lightmix pass once you tick off and on a lightmix layer. So when you do a render after closing corona, what you see is different.

If you open the scene, start rendering, and then go to Lightmix, without editing any lightmix related thing, it should show correctly what lightmix element is supposed to show. There should not be a need to turn on/off anything to properly display the lightmix element. If you open the scene, start rendering, go to lightmix and it is not showing the proper lightmix, then it is a bug.

VFB defaults to beauty at the first render after opening the scene - I think this is better than displaying lightmix, as beauty is the actual render, lightmix is an element, like alpha or zdepth.