Fix texture types to float since double is not supported anyway.