Clamp to border and border color

Guys, seriously thank you for implementing this. I might be pretty nice to be able to set it on the fly (as border isn´t in sampler enum) but just ability to set it directly in shader saved me lot of work and some performance, thanks!

how do you set the border color?

sampler TextureSampler : register(s0)

{
//Filter = Point;
AddressU = border;
AddressV = border;
BorderColor = 0x00000000;
};

1 Like