|
Hey guys, last day I upgrade my unity to the version 3.5(from 3.4), but my projects performance on iPhone become very slowly since a shader is not working efficiently, it is very simple code to implement a shader with ZWrite and AlphaTest, I don't know why if I change the code "AlphaTest Greater [_Cutoff]" to "Blend SrcAlpha OneMinusSrcAlpha", then the fps change from 30 to 50, my scene contains about 100 objects which have the same texture and alpha channel. In unity3.4, my shader's performance is OK but, I want to know if there exist any change about transparent/particles shader in version 3.5, or what is the best way to implement an efficiently transparent shader? Here is my code: } }
(comments are locked)
|
