I have no idea how to pass on the texture colors or Hight with SetShaderConstantByName.
I need a demonstration as i am confused. I searched with no help at all and nothing showing how to use the funcion.
// if you want to change the following values when the app is running, change
// them to uniforms, remove the default values, and use SetShaderConstantByName
// after loading the shader
Here is the shader I guess somehow i am supposes to know what a uniform is.

I know what a vector is but have no other shadder experience.
Things I want to influence
mediump vec3 grassColor = vec3(0.89, 1.20, 0.77);
mediump vec3 snowColor = vec3(1.5, 1.5, 1.5);
mediump vec3 rockColor = vec3(0.75, 0.75, 0.75);
mediump float snowHeightStart = 25.0; // height that grass begins to turn to snow
mediump float snowHeightEnd = 35.0; // height that it becomes completely snow
mediump float rockStart = 0.8; // normals with Y greater than this will be 100% grass
mediump float rockEnd = 0.4; // normals with Y less than this will be 100% rock