19 lines
405 B
GLSL
19 lines
405 B
GLSL
#version 410 core
|
|
|
|
layout(location = 0) in vec4 pos;
|
|
layout(location = 2) in vec4 vertex_color;
|
|
layout(location = 3) in vec4 multitexcoord0;
|
|
|
|
out VS_OUT {
|
|
vec2 texcoord;
|
|
vec4 vertex_color;
|
|
} vs_out;
|
|
|
|
uniform mat4 osg_ModelViewProjectionMatrix;
|
|
|
|
void main()
|
|
{
|
|
gl_Position = osg_ModelViewProjectionMatrix * pos;
|
|
vs_out.texcoord = multitexcoord0.st;
|
|
vs_out.vertex_color = vertex_color;
|
|
}
|