Check completeness of multipass framebuffers in case rendering to a floating point texture is unsupported. Match depth renderbuffer size with color attachment size. Properly release WebGL resources.