#version 330
##ubo

out vec4 outputColor;
smooth in vec3 color_to_fragment;

void main() {
  float my_alpha = 1;
  if(layer_flags == 3) { //force alpha for stencil mode
    my_alpha = alpha;
  }
  outputColor = vec4(color_to_fragment, my_alpha);
}
