forked from mirrors/0ad
01a8138780
This improves refractions around entities close to the surface, such as fishes, by handling depth better and by clipping the water plane a little lower. This uses the skybox for reflections when refractions are enabled but reflections are disabled, making it possible to play with reflections disabled without having super-ugly water (arguably a performance improvement). Differential Revision: https://code.wildfiregames.com/D359 This was SVN commit r22297.