Alas, I don't know how to use $K_{\mathbf{P}^3}$ here, so this solution may not be of use to you.
Assuming that $t\neq0$, and that your base field $k$ is algebraically closed with char $k > 3$, then (writing $U=Z-tW$) the function field of this variety is $k(y,z,u)$, with $y=Y/X$, $z=Z/X$, $u=U/X$, $z^4+y^4+1=0$, $u^3+y^3+1=0$. This is a tower of Kummer extensions, so ramification is easy to check. All the ramification of $k(y,z)/k(y)$ occurs at the 4 (finite) places with $y^4+1=0$. We have $e=4$ for all these points, so the genus g'=g(k(y,z)) can be solved from 2g'-2=4(2\cdot0-2)+4\cdot(4-1)\Rightarrow g'=3, as expected.
Similarly all the ramification in $k(y,z,u)/k(y,z)$ takes place at those points, where $y^3+1=0$. This equation has 3 solutions in $k$ and none of them are also solutions of $y^4+1=0$. Therefore the 3 ramified places of $k(y,u)/k(u)$ become 12 ramified places of $k(y,z,u)/k(y,z)$. For all these we have $e=3$. Therefore the genus g'' of $k(y,z,u)$ is 2g''-2=3(2\cdot 3-2)+12(3-1)\Rightarrow g''=19.