im trying to make a texture have a outline without having to edit the texture directly. i think maybe the best way would be to use a shader, but i cant think of a solution. do you guys know how to make something like this?
2D or 3D? Can you post an example? Either way a shader will be the best option. For a black outline around a 2D sprites you could duplicate the sprite, scale it up and modulate it to be black. For 3D models you can use StandardMaterial3D’s stencil outline, but that’s not really a “texture” having the outline, more the model.
its 2d, and i think maybe scaling wouldn’t look so good, especially in pixel art style games, im trying to have a 1 pixel outline
Check on godotshaders.com, maybe this one fits your needs and is up to date?