//sample the normal map NormalMap = texture2D(NormalMapTex, TexCoord); //convert to range -1.0 to 1.0 Normal.xyz = NormalMap.rgb * 2.0 - 1.0;.
確定! 回上一頁