Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: sunkas on November 21, 2012, 10:16:39 AM

Title: Fast Shader with Clipping, Color and Alpha
Post by: sunkas on November 21, 2012, 10:16:39 AM
Hi

We're having some trouble with the standard shader Unlit - Transparent Colored. It's to slow on iPhone 4. We've downloaded and tried some custom shaders but none that support all our demands. We want a shader that support:

- Clipping (hard)
- Coloring
- Is faster than "Unlit - Transparent Colored" with a lot of sprites on iphone 4.
- Support alpha (optional, we considered splitting our images into two atlases so if alpha is not supported this is still good for us. But preferably alpha as well!)

Best Regards
Jonas Andersson
Title: Re: Fast Shader with Clipping, Color and Alpha
Post by: ArenMook on November 21, 2012, 05:34:59 PM
See here: http://www.tasharen.com/forum/index.php?topic=2084.msg11458#msg11458

When coding for mobiles, minimize overdraw the best you can. That is, limit the amount of overlapping widgets. The fewer things you have overlapping, the faster everything will perform.