4 uniform sampler2D texture;
7 layout(constant_id=auto) const bool use_texture = false;
8 layout(constant_id=auto) const bool use_vertex_color = false;
9 layout(constant_id=auto) const bool use_fog = false;
11 #pragma MSP stage(fragment)
16 result *= texture(texture, texcoord.xy);
24 vec4 color = get_color();
26 color.rgb = apply_fog(color.rgb);