Although Tessendorf’s IFFT Gerstner wave model hasbeen widely used, the value of A, a constant of the Fouriercoefficient, is not given. A will strongly influence the shape of therendered ocean wave and even cause amplitude malformation.We study the algorithm of the IFFT Gerstner wave, and give themethod of A calculating. The method of the paper can guaranteethere is no amplitude malformation in rendered ocean waves. Theexpression of the IFFT Gerstner wave with the amplitude of thecosine wave is derived again. The definite integral of the wavenumber spectrum is discretized. Further, another expression ofthe IFFT Gerstner wave is gotten. The Fourier coefficient of theexpression contains the wave number spectrum and the area ofthe discrete integral domain. The method makes the shape of thegenerated wave stable. Comparing Tessdendorf’s method with themethod of the paper, we find that the expression of A shouldcontain the area of the discrete integral domain and the spectralconstant of the wave number spectrum. If A contains only thespectral constant, the amplitude malformation may occur. Byreading some well known open source codes, we find that the codeauthors adopted some factitious methods to suppress themalformed amplitude Obviously, the code authors have alreadynoticed the phenomenon of the malformation, but not probed thecause. The rendering results of the codes are close to that of themethod of the paper. Furthermore, the wave potential iscomputed using the Gerstner wave model directly, the author findit is quite close to that of the paper. The experimental results andcomparisons show that the method of the paper correctlycomputes the wave potential and effectively solves the problem ofamplitude malformation.