Poly3d/shaders/depth_shader.fs

13 lines
233 B
Forth
Raw Normal View History

2024-11-27 17:51:31 +00:00
// 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
}