Added support for portable float maps.
Rewrote rendering tests to compare against reference images.