This repository has been archived on 2025-03-10. You can view files and clone it, but cannot push or open issues or pull requests.
NFRev1/NFPackCreator/AssetBuild/base/shaders/shadow/directionalShadowVertex.shader

12 lines
187 B
GLSL

#version 330 core
layout(location = 0) in vec3 pos;
uniform mat4 lightSpace;
uniform mat4 model;
out vec3 texCoord;
void main() {
gl_Position = lightSpace * model * vec4(pos, 1.0);
}