Chaos Corona Forum

Chaos Corona for 3ds Max => [Max] Bug Reporting => [Max] Resolved Bugs => Topic started by: pressenter on 2015-11-10, 19:19:35

Title: Opacity map issue - affecting every object?
Post by: pressenter on 2015-11-10, 19:19:35
Good afternoon guys,

Stumbled across this weird problem just today. Not sure if someone had this problem before, I tried searching, but didn't find much so...

I have a tree using opacity map for leaves. Behind those leaves I have an object that has both normal glass and frosted glass, it's one object with two material IDs! The normal glass seems to be affected by opacity map, which makes the opacity to infinity or something? This thing does not happen on the frosted glass, which is even weirder. Please have a look at the image attached.

Hopefully someone will be able to help me.

Best regards
Simon

Edit:/ Ah yes, there is DOF in camera and the tree is proxied.
Title: Re: Opacity map issue - affecting every object?
Post by: romullus on 2015-11-10, 19:50:59
Might be issue with glass behind those leaves. Currently Corona has some troubles with multiple refractive materials on same object, see known limitations: https://coronarenderer.freshdesk.com/support/solutions/articles/5000516180

Try to assign single glass material on object behind leaves and see if it helps.
Title: Re: Opacity map issue - affecting every object?
Post by: Ludvik Koutny on 2015-11-11, 11:46:37
Do you by any chance use refraction on those leaves?
Title: Re: Opacity map issue - affecting every object?
Post by: Nekrobul on 2015-11-11, 12:13:42
Quote
I have an object that has both normal glass and frosted glass, it's one object with two material IDs!

This might cause refraction to work incorrect. Try using mask for refraction glossines.

But i think that something different causing problem with leafs. Do you use rayswitch for leaf texture?
Title: Re: Opacity map issue - affecting every object?
Post by: maru on 2015-11-11, 13:23:13
-Can you show us the leaf material?
-Can you check if the same happens if you assign only single glass material (not frosted, not multi/sub) to the glass object?
Title: Re: Opacity map issue - affecting every object?
Post by: pressenter on 2015-11-11, 14:39:55
Rawalanche wins! Turns out that yes, it was due to the refraction. Still weird tho that this happened.

Thank you for your help! <3
Title: Re: Opacity map issue - affecting every object?
Post by: maru on 2015-11-11, 15:06:53
Anything can happen if you are using refraction on objects with no thickness. ;)

I hope you are using opacity slot now.
Title: Re: Opacity map issue - affecting every object?
Post by: pressenter on 2015-11-11, 16:01:07
maru I was using refraction for the actual leaves, not for the opacity part. ;)
Title: Re: Opacity map issue - affecting every object?
Post by: maru on 2015-11-11, 16:13:00
Oh, then translucency is the way to go. :)
Title: Re: Opacity map issue - affecting every object?
Post by: Ondra on 2016-08-19, 12:42:45
ok, caused by incorrect scene setup. Corona might become more robust for similar situations in the future