iPad Unity 3.0 Shader for wind effects

I’m trying to convert the attached shader to work on the iPad.

Can someone point me in the right direction?
Thank you.

380292–13140–$wavescginc_946.zip (1.18 KB)
380292–13141–$windygrassx_691.shader (2.51 KB)

what doesn’t work with them with Unity iPhone 3? (with iphone 1.x you can not convert them, there is no programmable pipeline support)

When I use the shader in 3.0, on the iPad (or iPhone) in OpenGL ES 2.0, the rendered texture goes all black.

I know very little about shaders. I do know this one isn’t working on the iPad and that I wish it did.

I’m hoping someone with a better understanding of shaders could explain why this doesn’t work on the iPad (opengl es 2.0)

the shader is a pure vertex shader, the only reason I could see why it should go all black is a vertex normal problem so it interacts incorrectly with the pixel and vertex lights in the scene

keep in mind that this shader will not work on iphone 3g / itouch 2nd gen at all

Yeah, I’m aware of the limitations of the shader… its going to be used in an iPad-only game.

Anyone have ideas on how to make the windy shader work on the ipad?