mirror of
https://github.com/JoeyDeVries/LearnOpenGL.git
synced 2026-01-02 04:37:54 +08:00
10 lines
193 B
GLSL
10 lines
193 B
GLSL
#version 330 core
|
|
layout (location = 0) in vec3 position;
|
|
|
|
uniform mat4 lightSpaceMatrix;
|
|
uniform mat4 model;
|
|
|
|
void main()
|
|
{
|
|
gl_Position = lightSpaceMatrix * model * vec4(position, 1.0f);
|
|
} |