原因是OpenGL读取的纹理的y(或V)坐标和纹理通常被创建的方式相反。 ... void main() { // 从法线贴图范围[0,1]获取法线 normal = texture(normalMap, fs_in.
確定! 回上一頁