GameEngineJava/res/shader/vs/testVS.glsl

9 lines
179 B
Text
Raw Normal View History

2023-11-13 21:31:36 +00:00
#version 400 core
layout (location = 0) in vec3 position;
out vec4 vertexColor;
void main(){
gl_Position = vec4(position, 1.0);
vertexColor = vec4(1.0, 0.0, 0.0, 1.0);
}