|Topic was automatically imported from the old Question2Answer platform.
Hi, I’d like a way to have the overall size of the sprite object increase without actually changing the sprite itself. So for a square sprite, for example the default Godot icon, there would be some empty space between the confines of the sprite object but the texture itself is still the same size.
This will allow me to use shaders to draw an outline around the texture without parts of the outline being cut off, as they only display within the sprites boundaries.
I know I could just edit the image in separate software and reimport it but it would be much more convenient and consistent if I could do it using code within the engine.
If anyone has any advice on how this could be accomplished, or offer alternative ways to create a similar outline effect, this would be greatly appreciated.