摘要:
colortriangle.vert #version 330 core layout (location = 0) in vec3 aPos; layout (location = 1) in vec3 aColor; out vec3 ourColor; uniform float xOffse 阅读全文
posted @ 2021-07-09 15:37
一拳超人的逆袭
阅读(65)
评论(0)
推荐(0)
摘要:
顶点着色器 out vec3 Color是为了给片段着色器传参 #version 130 in vec3 VertexPosition; in vec3 VertexColor; out vec3 Color; void main() { Color = VertexColor; gl_Positi 阅读全文
posted @ 2021-07-09 10:41
一拳超人的逆袭
阅读(76)
评论(0)
推荐(0)

浙公网安备 33010602011771号