netfishing/ui/logbook_silhouette.gdshader

9 lines
228 B
Text
Raw Permalink Normal View History

2026-07-31 00:03:47 -04:00
shader_type canvas_item;
uniform vec4 silhouette_color : source_color = vec4(0.22, 0.23, 0.24, 1.0);
void fragment() {
vec4 source = texture(TEXTURE, UV);
COLOR = vec4(silhouette_color.rgb, source.a * silhouette_color.a);
}