varying float height;

uniform mat4 Eng_ObjectWaterShadowMatrix, Eng_ObjectMatrix;

void main()
{
    vec4 wvert = Eng_ObjectMatrix * gl_Vertex;
    height = wvert.z;
	gl_Position = Eng_ObjectWaterShadowMatrix * wvert;
}