Fixed up some vars-oriented accesses in the shader used for water objects.