OpenGL C / C++ Tutorials ... Passing Position and Normal to the Fragment Shader. out_color = vec4(vertex.position, 1);. out_color = vec4(vertex.normal, 1);.
確定! 回上一頁