When clipping a texture, how to set the background color?

Instead of using an image editor I’m just resizing the UV map and have the image texture node set to Extension: Clip.

How can I change the black area outside of the image to be white?

You should be able to use image’s Alpha channel - it’s all black outside the bounds:

image

3 Likes

Doesn’t Alpha output of image give you exact mask?

1 Like

:+1:

…i needed some time to understand this… ( and so i just post this here to memorize this better :wink: ).So basicly the clipped area is also producing a mask… which can be used to mix with any other shader or texture… or color…

Usually the alpha channel of any decal (object) is used to mix with a trasnparent shader (and then maybe backed)… but for some simple “just add this here”–use case this is… just simpler…

…really nnnice:star_struck:

1 Like

I don’t know why I have to look at this post every other week to remember this :cry:

Save the material setup into your startup file. Once you have it right there easily available, you will be able to remember it anyway…
lol… Hoomans :man_shrugging:t3:

2 Likes

give it a nice name like : UDA
write it down on a stickers note on your monitor, you will see it for a while even if you don’t need it and think why you did that, it will stick in your memory

1 Like

wallpaper?

2 Likes