Moses ........... 1.5m is too much for anything less than 40 or 50mm thick timber. Even then, it would probably sag eventually.
18mm is fine........... one suggestion would be to fit a couple of "dividers" to each shelf. Starting from the floor, each one is fixed vertically above the one below. All the load is taken down through each divider to the floor.
Cut each one a couple of inches narrower than the shelf so that it's partially hidden by the books each side of it. 10 or 12mm thick would do it.