reVeno/Source/Resources/GL/WaveForm.vertex.glsl

15 lines
326 B
Text
Raw Normal View History

2020-06-13 10:56:20 +02:00
#version 330 core
in vec4 position;
uniform vec4 color = vec4(1f, 1f, 1f, 1f);
2020-07-09 16:31:33 +02:00
uniform vec4 gradientColor = vec4(1f, 1f, 1f, 1f);
2020-06-13 10:56:20 +02:00
out vec4 newColor;
2020-07-09 16:31:33 +02:00
out vec4 newGradientColor;
out vec4 sPosition;
2020-06-13 10:56:20 +02:00
void main()
{
gl_Position = position;
newColor = color;
2020-07-09 16:31:33 +02:00
newGradientColor = gradientColor;
sPosition = position;
2020-06-13 10:56:20 +02:00
}