GameEngineJava/TestGame/res/shader/testVS.glsl
2024-08-28 21:39:49 +02:00

9 lines
No EOL
179 B
GLSL

#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);
}