ecsgame/Shaders/shadow-fragment.fs
karl 0254b81882 Implement basic shadows
Still shadow acne, but working in principle
2020-10-27 21:13:07 +01:00

7 lines
124 B
GLSL

#version 330 core
void main()
{
// This happens implicitly anyways
// gl_FragDepth = gl_FragCoord.z;
}