13 lines
233 B
Forth
13 lines
233 B
Forth
|
// 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
|
||
|
}
|