Chaos Corona Forum

Chaos Corona for 3ds Max => [Max] I need help! => Topic started by: romullus on 2019-10-10, 12:30:59

Title: Portals - big difference in lighting
Post by: romullus on 2019-10-10, 12:30:59
I know that there could be some change in lighting when portals are used, but i didn't expected the difference to be such big. The scene has single big portal, located at the rooftop opening and there's big difference in lighting, mostly visible on the floor. Portal really helps a lot to clean the noise in this scene, so i'd like to use it, but i think that lighting without a portal, looks better in this case. Does such difference looks normal?

Pictures are rendered with minimal tonemapping - just highlight compression, adjusted WB and a LUT. Using a LUT slightly exaggerates the difference, but even without it, it still doesn't look right. denoising and all other effects are turned off.
Title: Re: Portals - big difference in lighting
Post by: Designerman77 on 2019-10-10, 12:42:49
Yes, weird GI behavior when using portals, I also reported to Corona some months ago, providing screenshots and even the scene.

When using HDR as lighting source, portals literally "flip" some rays and you get ugly looking blueish tint in the lighting and strange contrasts in some areas.

I literally stopped using portals because of this.
Working in C4D R20.

I guess in v5 the problem hasn't been solved yet ! ? !

Would be great it Corona development team took this issue seriously.
Title: Re: Portals - big difference in lighting
Post by: steyin on 2019-10-10, 16:30:23
Looks better with the portals on to me.
Title: Re: Portals - big difference in lighting
Post by: Fluss on 2019-10-10, 17:12:39
I disagree, I personally prefer the no portal version.

Just a random thought but I always been curious to see if portal normal orientation has an impact on how it behaves. I could have done the test myself but since you have a scene where the impact of portals is quite noticeable... What happens if you flip the normals of the portal? I know Fstorm portals need the normals to face inward (so in your example, normals pointing at the floor), hence my interrogation.
Title: Re: Portals - big difference in lighting
Post by: Designerman77 on 2019-10-10, 19:29:26
I disagree, I personally prefer the no portal version.

Just a random thought but I always been curious to see if portal normal orientation has an impact on how it behaves. I could have done the test myself but since you have a scene where the impact of portals is quite noticeable... What happens if you flip the normals of the portal? I know Fstorm portals need the normals to face inward (so in your example, normals pointing at the floor), hence my interrogation.


Tried this... no effect in my test scenes.
Would have been nice if the solution had been that simple.
Title: Re: Portals - big difference in lighting
Post by: romullus on 2019-10-10, 19:46:09
Just a random thought but I always been curious to see if portal normal orientation has an impact on how it behaves. I could have done the test myself but since you have a scene where the impact of portals is quite noticeable... What happens if you flip the normals of the portal? I know Fstorm portals need the normals to face inward (so in your example, normals pointing at the floor), hence my interrogation.

That's interesting point. My portal's normals are looking inside (to the bottom), but it's worth to check if things will change if i will flip it. I'll let you know.

UPD: nope, no difference.
Title: Re: Portals - big difference in lighting
Post by: Designerman77 on 2019-10-10, 20:10:46
Just a random thought but I always been curious to see if portal normal orientation has an impact on how it behaves. I could have done the test myself but since you have a scene where the impact of portals is quite noticeable... What happens if you flip the normals of the portal? I know Fstorm portals need the normals to face inward (so in your example, normals pointing at the floor), hence my interrogation.

That's interesting point. My portal's normals are looking inside (to the bottom), but it's worth to check if things will change if i will flip it. I'll let you know.

UPD: nope, no difference.


Such major bugs should be taken more seriously by Corona developers... !

I´d love to use portals again... since they indeed clean up the scene faster in many cases.
Title: Re: Portals - big difference in lighting
Post by: jms.lwly on 2019-10-10, 20:25:09
I've always found portals to be fairly hit and miss, so tend to never use them... I assumed they were something of the past, but maybe I should revisit.
Title: Re: Portals - big difference in lighting
Post by: romullus on 2019-10-10, 21:38:02
I've always found portals to be fairly hit and miss, so tend to never use them... I assumed they were something of the past, but maybe I should revisit.

So did i, but recently i tried to put portals in a scene, where i didn't expected much gain from them and was amazed how much quicker noise was going away. So yeah, portals are still very alive, it's just pity that you always need to do tests against no portals and see if they not making things worse.
Title: Re: Portals - big difference in lighting
Post by: romullus on 2020-02-21, 00:12:02
It seams that in the latest build this issue has been completely solved. YEE-HAW!