I once saw the Shrek book in a bookstore and paged through it. I often see that movies that are based on books have little to do with the original story, but Shrek absolutely took the crown. But where this usually is a turn to the worse, with Shrek this was exactly the other way.