I am studying Castelnuovo's rationality criterion for surfaces.
Let $S$ be a projective surface and $K$ a canonical divisor on $S$. Let's use the notation $h^i(S,\mathcal{O}_S)=dimH^i(S,\mathcal{O}_S)$.
The condition $P_2=h^0(S,\mathcal{O}_S(2K))=0$ implies $p_g(S)=h^2(S,\mathcal{O}_S)=h^0(S,\mathcal{O}_S(K))=0$.
Is this correct?
I can't find a proof of this.