Just a quick performance question i was interested in. Whenever i've had to fade objects in and out i've always done a modification of the renderer property by assigning a new Color to it over time in a while loop (coroutine). What i was wondering is if it has a big performance hit if done to several objects on screen? I've done some testing on iPad 2/3 and some Android devices and it seems fine.
Would it be better if i had a shader handle the alpha value for me? And just pass in a new value to the shader over time?
asked Mar 27 '12 at 10:55 PM
It's possible that you could make those operations faster, but I don't anticipate this would be considered a "low-hanging fruit" when it comes to optimizing performance. There are probably other issues you can improve more easily.
answered Mar 27 '12 at 11:07 PM