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
2021-10-01 14:16:47 -05:00

12 lines
206 B
GLSL

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