layout(location=0) out vec4 FragColor; #ifdef GBUFFER_PASS layout(location=1) out vec4 FragFog; layout(location=2) out vec4 FragNormal; #endif void main() { FragColor = vec4(1.0, 1.0, 1.0, 0.0); #ifdef GBUFFER_PASS FragFog = vec4(0.0, 0.0, 0.0, 1.0); FragNormal = vec4(0.5, 0.5, 0.5, 1.0); #endif }