daily uodate on 20231208 by nitload youmu, preparation for multi thread rendering
This commit is contained in:
@@ -1,12 +1,19 @@
|
||||
#version 330 core
|
||||
layout(location=0)in vec3 aPos;
|
||||
|
||||
out vec4 vertexColor;
|
||||
layout(location = 0) in vec3 aPos;
|
||||
layout(location = 1) in vec3 aColor;
|
||||
layout(location = 2) in vec2 aTextCoord;
|
||||
|
||||
out vec3 TexColor;
|
||||
out vec2 TexCoord;
|
||||
|
||||
uniform vec3 color;
|
||||
|
||||
void main()
|
||||
{
|
||||
gl_Position=vec4(aPos.xyz,1.0);
|
||||
vertexColor = vec4(0.1,0.003,0.665,1.0);
|
||||
gl_Position = vec4(aPos.xyz,1.0);
|
||||
TexColor = color;
|
||||
TexCoord = aTextCoord;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user