3 * @brief This is the glow shader that is applied if no other shader is
4 * active but the glow map should get rendered.
9 * Indicates that gl_FragData is written to, not gl_FragColor.
10 * #extension needs to be placed before all non preprocessor code.
12 #extension GL_ARB_draw_buffers : enable
16uniform sampler2D SAMPLER_DIFFUSE;
18#include "write_fragment_fs.glsl"
21 vec4 diffuse_tex = texture2D(SAMPLER_DIFFUSE, gl_TexCoord[0].st);
23 /* glowmap will be added automatically */
24 writeFragment(diffuse_tex);