Is It Possible to Have a Camera Partially Submerged in Water?


Hello,

I have an idea where a camera filming at the water surface of a swimming pool is gradually submerged underwater.

Filming at the Water Surface:

  • The water is clear, so the underwater scene is visible.

Filming as the Camera Submerges from Surface to Underwater:

  • The cross-section view (as shown in the image) of both above and below water is visible.
  • Light scattering is observable underwater.
  • The cross-section is accompanied by wave foam and bubbles.

Filming Underwater:

  • Light scattering is visible.
  • When the camera looks upwards, the refraction of the sky is depicted.

Can I get some good ideas?

You probably mean something similar to this:

UNSEEN

Just animate the camera movement and halfway create a transition with a custom shader…

The great Martin Upitis developed this while ago un pure glsl code. You can see a screencast in the following video:

Around 1:15m you can see camera going outside and inside water including many optical phenomena. Waterdrops in lens are made with perlin noise and require derivatives (which may not work in webgl 1) but the rest of the code is pure glsl so should be ported to threejs without problems

4 Likes

I am grateful to all who provided their insights.

1 Like