When I try to render a glass material, in rendered view it looks good, but when rendered, I get this wavy effect and black outlines.
Polygon detail:
The scene is just a glass object with a glass material, background with a texture with a Diffuse shader and a lighting setup of two plane emissions.
Glass: 4 levels of subdivision surface modifier.
Background: 4 levels of subdivision surface modifier.
2 plane emissions, with no modifiers.
80 samples.
What is causing that and how can I fix it?
Here's the file if anybody wants to explore it.