Hi,
I have two different shaders for water, first one with MainTexture and BumpMap property, another with MainTexture, BumpMap and DistortionMap property (basically two/three different textures for each shader to create water scene).
I am trying to alter the speed of each of these texture properties through script. The problem is I am trying the script to check if the selected shader has DistortionMap property (which is only present in the second shader) or not and display the option to alter the DistortionMap Speed (in script) accordingly.
I’ll be glad if anyone can help here…
Thanks in advance.