1
0
Fork 0
This repository has been archived on 2024-01-06. You can view files and clone it, but cannot push or open issues or pull requests.
MrDev023-Cpp-Engine/res/shaders/test.vert

16 lines
372 B
GLSL
Raw Normal View History

2016-10-08 18:35:02 +02:00
#version 330
layout (location = 0) in vec3 in_position;
layout (location = 1) in vec4 in_color;
layout (location = 2) in vec2 in_coord_texture;
layout (location = 3) in vec3 in_normal;
out vec4 color;
out vec3 normal;
out vec2 out_coord_texture;
void main(void){
gl_FrontColor = gl_Color;
2016-10-08 18:35:02 +02:00
gl_Position = gl_ModelViewProjectionMatrix * vec4(in_position,1.0f);
}