13 lines
233 B
GLSL
13 lines
233 B
GLSL
// depth_fragment_shader.fs
|
|
#version 330 core
|
|
|
|
// Inputs from Vertex Shader
|
|
in vec4 FragPosLightSpace;
|
|
|
|
// Output
|
|
void main()
|
|
{
|
|
// The depth value is automatically written to the depth buffer
|
|
// No need to output any color
|
|
}
|