Vertex Shader
void main() { gl_FrontColor = gl_Color; gl_Position = ftransform(); }
Fragment Shader
void main() { gl_FragColor = gl_Color; }
标签:form front transform oid orm glsl body 最简 position
Vertex Shader
void main() { gl_FrontColor = gl_Color; gl_Position = ftransform(); }
Fragment Shader
void main() { gl_FragColor = gl_Color; }
标签:form front transform oid orm glsl body 最简 position
原文地址:https://www.cnblogs.com/coolbear/p/8417731.html