hello, i have this blur shader,. Ive modified it with a color change,the problem here is that the color is applied to the entire image rect, alpha spaces and everything.
Is there a way to have it only on the texture like the blur is doing ?
The easiest way is probably to multiply mix_amount at the end of the shader by COLOR.a, so that transparent pixels use the original (unblurred) color exclusively. Translucent areas will be partially blurred.
Shaders are applied to individual canvas items, and TileMap draws tiles individually.
To apply the shader to the entire TileMap node at once, make the TileMap node a child of a CanvasGroup node and apply the shader to the CanvasGroup node instead of the TileMap node. Beware, as this will have a significant performance impact.
yeah, ive already tried canvas group and it worked, but i ended up using a colorRect node instead with a screen blur on top of the layers i want to blur… So far the performance seem to be good…
but the color blend should help me, iam not very good with combining diferent colors together, this should help me with blending the backgrounds with each other…
( iam aware of the infamous blurs, and how much they overHeat the GPUs iam just running some tests )