Reinforcing a high load wooden corner shelf
Really I think you need bigger brackets. Otherwise I'd consider ...


Make the wood thick
Select a strong species
Align the grain across the width (less chance of 40cm splitting off)
Extend the brackets using ~60cm pieces of wood as an intermediate support.
Screw a support rail along the wall up to the window.