mirror of
https://github.com/antopilo/Nuake.git
synced 2025-12-30 21:49:06 +03:00
17 lines
264 B
GLSL
17 lines
264 B
GLSL
#shader vertex
|
|
#version 440 core
|
|
|
|
layout(location = 0) in vec3 Position;
|
|
|
|
uniform mat4 u_LightTransform;
|
|
uniform mat4 u_Model;
|
|
|
|
void main()
|
|
{
|
|
gl_Position = u_LightTransform * u_Model * vec4(Position, 1.0);
|
|
}
|
|
|
|
#shader fragment
|
|
#version 440 core
|
|
|
|
void main() { } |