Constant solstice_2d::text::DEFAULT_FRAG
source · pub const DEFAULT_FRAG: &str = r#"
vec4 effect(vec4 color, Image texture, vec2 texture_coords, vec2 screen_coords) {
float a = Texel(texture, texture_coords).a;
color.a *= a;
return color;
}
"#;