Water2 scene resolution

For the three.js Water2 shader - is the entire scene rendered again inside the water material, like how it is done in the reflector?

If so, what determines the resolution of that scene? Is it the the textureWidth and textureHeight ?

Correct. textureWidth and textureHeight are the dimensions of the internal render targets of THREE.Reflector and THREE.Refractor. Both entities are used in THREE.Water2 to achieve the reflective and refractive water effect.

1 Like