0
0
Fork 0
mirror of https://github.com/ZDoom/gzdoom.git synced 2025-03-02 07:33:29 +00:00
gzdoom/wadsrc/static/shaders/glsl/stencil.fp
Christoph Oelckers ad7aaa8f2a - specify fragment output locations in the shader source.
OpenGL has been supporting this since version 3.3 and Vulkan requires it so it's the way to go.
2018-06-12 23:52:33 +02:00

8 lines
114 B
GLSL

in vec4 pixelpos;
layout(location=0) out vec4 FragColor;
void main()
{
FragColor = vec4(1.0, 1.0, 1.0, 0.0);
}