underwater.testSuite
This package holds more than this page lists. See all of its files in its world.
README.md
underwater tests
Guards Tidewater's shared underwater view (modules/underwater). Defines a flat body
of water straight through Physics.defineWater round the camera, so it needs no kind
and touches no scene, and checks: the register / unregister / profile registry; that
the underwaterPost shader compiles; that the camera below a registered body raises
the pass naming that body and lowers it when the water drops; that unregistered water
still reads from inside; that the waterline band keeps the pass up just above the
surface; that setEnabled(false) holds it off; and that listed surface materials get
underwater_mode 1 while under and 0 after.
It does not judge the picture (fog colour, caustics, shafts); captures do that.