shader_type canvas_item; // D-086: Runtime icon tint — replaces color channel with tint_color, preserves alpha mask. // Applied to SVG-sourced TextureRect nodes so stance/status icons can be color-coded at runtime. // Default: #c8d0e0 (insert chrome) — identical to the SVG's authored stroke color. uniform vec4 tint_color : source_color = vec4(0.784, 0.816, 0.878, 1.0); void fragment() { float a = texture(TEXTURE, UV).a; COLOR = vec4(tint_color.rgb, a * tint_color.a); }