Quote:

What about this:
fog_color = (camera.y < water_plane.y);




ok, so how would I got a bout tileing the sprite along the water plane?