GLSL 下幾個簡單的Shader ... void main() { vec3 normal; normal = normalize(gl_NormalMatrix * gl_Normal); gl_FrontColor = (vec4(normal.x ...
確定! 回上一頁