How to integrate GLSL into OpenGL apps. An Introduction to the OpenGL Shading Language ... float diffuse = dot(normalVec, lightVec);.
確定! 回上一頁