Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | Loustak |
Hello,
I would like my shader script to also apply on pixel resulting from the draw_rect() function, however the following code doesn’t work : it only applies on the pixel from the sprite.
void fragment() {
vec4 color= texture(TEXTUIRE, UV);
COLOR = color;
}