Gen. 9:20 (NKJV) And Noah began to be a farmer, and he planted a vineyard. 21 Then he drank of the wine and was drunk, and became uncovered in his tent. 22 And Ham, the father of Canaan, saw the nakedness of his father, and told his two brothers outside. 23 But Shem and Japheth took a garment, laid it on both their shoulders, and went backward and covered the nakedness of their father. Their faces were turned away, and they did not see their father’s nakedness. 24 So Noah awoke from his wine, and knew what his younger son had done to him. 25 Then he said: “ Cursed be Canaan; A servant of servants He shall be to his brethren.” 26 And he said: “ Blessed be the LORD, The God of Shem, And may Canaan be his servant.I think that there is a moral principal here that is related to the subject of porn and other people’s nakedness (outside of medical reasons). It is not morally acceptable to view other people completely naked as a recreational exercise, especially in the act of sex. (link to original)
6'None of you shall approach any blood relative of his to uncover nakedness; I am the LORD.7'(F)You shall not uncover the nakedness of your father, that is, the nakedness of your mother. She is your mother; you are not to uncover her nakedness.8'(G)You shall not uncover the nakedness of your father's wife; it is your father's nakedness.9'(H)The nakedness of your sister, either your father's daughter or your mother's daughter, whether born at home or born outside, their nakedness you shall not uncover.10'The nakedness of your son's daughter or your daughter's daughter, their nakedness you shall not uncover; for their nakedness is yours.11'The nakedness of your father's wife's daughter, born to your father, she is your sister, you shall not uncover her nakedness.12'(I)You shall not uncover the nakedness of your father's sister; she is your father's blood relative.13'You shall not uncover the nakedness of your mother's sister, for she is your mother's blood relative.14'(J)You shall not uncover the nakedness of your father's brother; you shall not approach his wife, she is your aunt.15'(K)You shall not uncover the nakedness of your daughter-in-law; she is your son's wife, you shall not uncover her nakedness.16'(L)You shall not uncover the nakedness of your brother's wife; it is your brother's nakedness.17'(M)You shall not uncover the nakedness of a woman and of her daughter, nor shall you take her son's daughter or her daughter's daughter, to uncover her nakedness; they are blood relatives. It is lewdness.