![]() |
Attention | Topic was automatically imported from the old Question2Answer platform. |
![]() |
Asked By | scottkunkel |
The following simple passthrough shader on a ninepatchrect results in the texture being distorted in that the ninepatch is ignored:
shader_type canvas_item;
void fragment() {
vec4 texColor = texture(TEXTURE, UV);
vec4 finalColor = vec4(texColor.rgb, texColor.a);
COLOR = finalColor;
}
What am I missing?