Shaders for IOS and Desktop

I am just getting started with Unity. I have been reading and reading about shaders. In my project i have some glass and transparent plastic objects. My project is a product demo application. My project has to be exported to both iPad and desktop and maybe web platforms.

I was just wondering in general if i am going to have to have a separate set of shaders for the desktop version and the IOS version?

So far for my glass objects i was thinking of using a cube map reflection type shader and semi transparent. But i am just guessing.

I am using Unity Pro but have not purchased the IOS extension yet. Will wait for a bit until i get a bit further into my project. Is this a mistake and i should buy it right now so that i can keep tabs on my project and its ability to run on an iPad?

Thanks for any help

Q

Unity’s shader format (Shaderlab) lets you include multiple versions of a shader for different hardware. If you end up needing to, you can write simpler shaders for the iPad, and Unity will handle shader selection based on what each platform supports.

As far as the license goes, you should get it and start testing on iPad as soon as you can. There are a lot of important differences between the platforms, and it’s much easier to learn and deal with them as you go, instead of trying to port your project at the end.

Interesting Thanks for the info! I just found some Shaderlab tutorials. will watch them next i guess…

Yes i was putting off purchasing to help my bottom line a bit but maybe it makes more sense to buy now anyway. I have some models to import now so it might be the timing is right.

Any gems of insight for the glass materials?

Q