Visibility and Alpha channel


#1

Hello everyone!

I have a question to y’all!

What is the performance difference between setting the visible toggle to false and leaving it on and passing an alpha value of 0?

Does studio skip draw calls on objects with the visible toggle set to false?

Thanks in advance!


#2

Hi @jansen,

The performance usage of setting the visibility property to false is slightly better!

Saying that, setting the opacity value to 0 is the same as telling the renderer to not perform a draw to call it which is essentially the same as setting the visibility to false.

Hope this helps!

George