#underwater

What light does in water. Each meter keeps a share of each color and takes the rest, red within a few meters and blue last, so sunlight that has come down is blue-green and anything far off fades out. The water also scatters a little of the light toward the eye all along each ray, so it glows, brightest toward the sun. A shader gives each color its own loss per meter and adds the glow along the ray.

1 shader

All techniques · In the glossary