Problem using Water Shader >> WARNING: Output of vertex shader 'vUv' not read by fragment shader

Hello,

I am trying to use the water shader as the example of webgl_shaders_ocean.html

I am basically copy and pasting the code from the example, but I am getting the following warning that is making that my program lag when the water is gonna enter to the camera.

gl.getProgramInfoLog() WARNING: Output of vertex shader 'vUv' not read by fragment shader

Any idea why is this happening?

Thanks in advance

I’ve position the camera below the ocean’s surface and I’m not able to reproduce the issue. Please modify the following fiddle in order to reproduce the warning: https://jsfiddle.net/ay53drjn/1/

Hello, I think i didnt explain myself properly. I apologise, my english is getting a little rusty. What I mean is that the my app starts specially getting the warning when the water is gonna get into the camera FoV.

I will check your code and compare of what I have.

Here you have my app, if you see the console, you will se the warning.
https://virtual.lanzaroteartgallery.com/exhibition/7SBXx4jDQzAlBImklhuk

THANKS ! ! !