- Home /
Different wave speeds
Hey Guys! So I have a bunch of rivers and lakes in my scene and I'm trying to set them to different wave speeds. But when I change the wave speed of one water plane, all the others automatically take on the same wave speed... Any advice? I'm very greatful for every answer...
Can u show how you are implimenting the river..?Are you using a shader for the river effect...? If so you might be using the same shader($$anonymous$$aterial) instance for all river plan.Create seperate materials for river planes with seperate speeds assigned.
Answer by drudiverse · Jul 22, 2014 at 11:42 AM
Hi, to save the number of shaders sent to the graphics in one scene, the same shaders are normally the same one and the same settings, unless you specify a different Material in the code... you need to use a different copy of the same material using sharedMaterial (see unity reference page for sharedMaterial)