I am using Unity 2.6 and I have a graphics card with SM4 but I am getting limited to 128 vert instructions. Isn’t that the amount for SM1? Am I supposed to set something to make my shader use 2.0 and up or something?
I have a license for Unity 3.0 but we aren’t publishing this particular game using Unity 3.0 so I am limited to SM2.
There are probably some compiler errors to go with that - I believe that warning will print if none of your subshaders are usable, be it because of too advanced for your graphics card or because of compiler errors. In Unity3 at least, the shader should work if you change your appdata struct to look like this: