gzdoom-gles/wadsrc/static/shaders/glsl/stencil.fp

16 lines
304 B
Text
Raw Normal View History

layout(location=0) out vec4 FragColor;
2019-05-13 19:15:10 +00:00
#ifdef GBUFFER_PASS
layout(location=1) out vec4 FragFog;
layout(location=2) out vec4 FragNormal;
#endif
2014-05-12 20:24:26 +00:00
void main()
{
FragColor = vec4(1.0, 1.0, 1.0, 0.0);
2019-05-13 19:15:10 +00:00
#ifdef GBUFFER_PASS
FragFog = vec4(0.0, 0.0, 0.0, 1.0);
FragNormal = vec4(0.5, 0.5, 0.5, 1.0);
#endif
2014-05-12 20:24:26 +00:00
}