Chaos Corona Forum

Chaos Corona for 3ds Max => [Max] I need help! => Topic started by: lupaz on 2021-04-17, 00:44:34

Title: [solved] Extremely low performance with color bitmaps in opacity
Post by: lupaz on 2021-04-17, 00:44:34
Hello,

Is it a known...behavior, that the performance in rendering with corona stalls when using a color bitmap in opacity?

3DS Max 2020 - Corona 6.1

See video below (everything works fine until I switch to a color bitmap for opacity):
https://youtu.be/B6IQMnjt1SY (https://youtu.be/B6IQMnjt1SY)
Title: Re: Extremely low performance with color bitmaps in opacity
Post by: romullus on 2021-04-17, 16:25:20
Are you sure this hapens because of colour and not because your first texture is mostly either fully transparent, or fully opaque and your second texture is mostly semi transparent? In any case, the bitmap loader shows that both textures are saved as RGB, so technically they are both colour.

Did you try to clip opacity in material properties? Does that makes any difference? Also, just in case, go to devel/debug settings and double check that opacity filtering is turned off.
Title: Re: Extremely low performance with color bitmaps in opacity
Post by: lupaz on 2021-04-19, 16:56:34
Are you sure this hapens because of colour and not because your first texture is mostly either fully transparent, or fully opaque and your second texture is mostly semi transparent? In any case, the bitmap loader shows that both textures are saved as RGB, so technically they are both colour.

Did you try to clip opacity in material properties? Does that makes any difference? Also, just in case, go to devel/debug settings and double check that opacity filtering is turned off.

Thank you Romullus. Clipping opacity fixed it.


Title: Re: [solved] Extremely low performance with color bitmaps in opacity
Post by: maru on 2021-04-20, 16:39:47
It could be interesting to test this again in V7 dailies:
Optimization of multiple transparent hits resolving - achieves up to 30% speedup in scenes with opacity and media